<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: ns3::DGRRouter Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d0/d56/classns3_1_1_d_g_r_router.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-types">Private Types</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../d9/de5/classns3_1_1_d_g_r_router-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">ns3::DGRRouter Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>An interface aggregated to a node to provide global routing info.  
 <a href="../../d0/d56/classns3_1_1_d_g_r_router.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../df/d96/dgr-router-interface_8h_source.html">dgr-router-interface.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Inheritance diagram for ns3::DGRRouter:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../df/d3e/classns3_1_1_d_g_r_router__inherit__graph.png" border="0" usemap="#ans3_1_1_d_g_r_router_inherit__map" alt="Inheritance graph"/></div>
<map name="ans3_1_1_d_g_r_router_inherit__map" id="ans3_1_1_d_g_r_router_inherit__map">
<area shape="rect" title="An interface aggregated to a node to provide global routing info." alt="" coords="5,79,131,104"/>
<area shape="rect" href="../../d8/d83/class_object.html" title=" " alt="" coords="36,5,100,31"/>
<area shape="poly" title=" " alt="" coords="71,44,71,79,65,79,65,44"/>
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="../../closed.png" alt="+"/> Collaboration diagram for ns3::DGRRouter:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d3/db9/classns3_1_1_d_g_r_router__coll__graph.png" border="0" usemap="#ans3_1_1_d_g_r_router_coll__map" alt="Collaboration graph"/></div>
<map name="ans3_1_1_d_g_r_router_coll__map" id="ans3_1_1_d_g_r_router_coll__map">
<area shape="rect" title="An interface aggregated to a node to provide global routing info." alt="" coords="1892,477,2017,502"/>
<area shape="rect" href="../../d8/d83/class_object.html" title=" " alt="" coords="1581,6,1645,32"/>
<area shape="poly" title=" " alt="" coords="1658,8,1707,3,1764,5,1820,19,1846,32,1870,49,1892,83,1911,133,1925,194,1936,261,1950,391,1955,477,1950,477,1945,391,1931,262,1920,195,1905,135,1888,85,1866,53,1844,36,1818,24,1763,11,1707,9,1659,13"/>
<area shape="rect" title=" " alt="" coords="1505,450,1720,476"/>
<area shape="poly" title=" " alt="" coords="1734,470,1892,482,1892,488,1734,475"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html" title="a Link State Advertisement (LSA) for a router, used in global routing." alt="" coords="1164,256,1321,281"/>
<area shape="poly" title=" " alt="" coords="1281,285,1588,448,1586,453,1279,290"/>
<area shape="rect" title=" " alt="" coords="747,208,814,233"/>
<area shape="poly" title=" " alt="" coords="828,215,960,213,1041,217,1122,227,1169,239,1211,253,1209,258,1168,244,1121,232,1041,223,960,218,828,220"/>
<area shape="rect" title=" " alt="" coords="5,266,108,292"/>
<area shape="poly" title=" " alt="" coords="72,253,112,201,172,140,208,112,248,89,291,73,336,67,1614,67,1653,71,1690,82,1724,99,1756,121,1785,148,1812,178,1858,245,1894,316,1922,382,1953,476,1947,478,1917,384,1889,318,1853,248,1807,181,1781,152,1753,125,1722,104,1688,87,1652,76,1614,72,337,72,293,78,251,93,211,116,175,144,116,204,76,256"/>
<area shape="poly" title=" " alt="" coords="120,261,131,258,406,189,527,164,685,143,739,139,781,140,876,143,946,137,1002,128,1056,126,1087,132,1122,145,1161,168,1193,198,1219,229,1236,254,1232,257,1215,232,1190,202,1158,172,1120,149,1086,137,1056,132,1002,133,947,143,876,148,780,145,739,145,686,148,528,169,407,194,133,263,121,266"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html" title="A single link record for a link state advertisement." alt="" coords="236,396,440,421"/>
<area shape="poly" title=" " alt="" coords="72,303,96,342,113,361,133,377,183,397,236,407,235,412,182,402,131,381,110,365,92,346,67,306"/>
<area shape="rect" title=" " alt="" coords="691,317,871,342"/>
<area shape="poly" title=" " alt="" coords="119,292,132,295,236,310,483,323,690,327,690,333,482,329,236,315,132,300,118,297"/>
<area shape="rect" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html" title="A record of an IPv4 routing table entry for Ipv4GlobalRouting and Ipv4StaticRouting." alt="" coords="1145,422,1340,462"/>
<area shape="poly" title=" " alt="" coords="122,270,260,262,448,259,553,262,662,270,771,283,877,303,901,314,962,326,1012,329,1062,333,1122,351,1178,384,1222,419,1219,424,1175,388,1120,356,1061,338,1012,334,962,332,899,319,875,308,770,288,662,275,553,267,448,264,260,267,122,276"/>
<area shape="rect" title=" " alt="" coords="685,367,876,407"/>
<area shape="poly" title=" " alt="" coords="854,360,899,347,1052,308,1182,278,1183,284,1053,313,901,352,856,366"/>
<area shape="poly" title=" " alt="" coords="454,400,685,389,685,394,454,406"/>
<area shape="rect" title=" " alt="" coords="17,413,96,438"/>
<area shape="poly" title=" " alt="" coords="109,424,212,422,248,418,248,424,212,427,110,429"/>
<area shape="rect" title=" " alt="" coords="19,462,94,488"/>
<area shape="poly" title=" " alt="" coords="107,464,211,443,297,419,298,424,213,448,108,470"/>
<area shape="rect" title=" " alt="" coords="284,568,392,593"/>
<area shape="poly" title=" " alt="" coords="406,581,538,586,715,588,917,584,1121,568,1223,554,1302,538,1481,493,1505,486,1556,473,1557,478,1506,491,1482,498,1303,543,1224,560,1122,574,917,589,715,593,538,591,406,587"/>
<area shape="poly" title=" " alt="" coords="405,568,475,556,550,539,617,518,642,507,659,495,670,477,671,459,672,439,683,419,701,405,704,409,687,422,677,440,676,459,675,479,663,498,645,511,619,523,552,544,476,561,406,573"/>
<area shape="poly" title=" " alt="" coords="360,556,405,517,463,479,492,467,519,461,568,457,613,449,636,438,659,420,669,404,671,388,673,371,683,353,703,340,706,345,687,357,678,372,676,389,674,406,663,424,639,443,615,454,569,462,520,466,494,472,465,484,409,522,363,560"/>
<area shape="rect" title=" " alt="" coords="1517,500,1709,540"/>
<area shape="poly" title=" " alt="" coords="406,589,464,596,688,616,976,631,1124,633,1263,629,1385,617,1436,608,1480,597,1538,570,1585,538,1588,543,1541,575,1482,602,1437,613,1385,622,1263,634,1124,638,976,636,687,621,464,602,406,594"/>
<area shape="rect" title=" " alt="" coords="37,634,76,660"/>
<area shape="poly" title=" " alt="" coords="89,637,283,590,284,596,90,642"/>
<area shape="rect" title=" " alt="" coords="273,701,403,726"/>
<area shape="poly" title=" " alt="" coords="90,652,237,687,284,698,283,704,235,692,89,657"/>
<area shape="rect" title=" " alt="" coords="738,432,823,457"/>
<area shape="poly" title=" " alt="" coords="836,431,1002,397,1078,380,1120,367,1153,347,1184,323,1228,279,1232,283,1187,327,1156,352,1122,372,1079,385,1004,403,837,437"/>
<area shape="poly" title=" " alt="" coords="837,441,1145,440,1145,445,837,447"/>
<area shape="poly" title=" " alt="" coords="813,308,853,288,899,272,969,261,1039,256,1164,258,1164,264,1039,261,969,266,901,278,856,293,816,313"/>
<area shape="rect" title=" " alt="" coords="737,158,824,184"/>
<area shape="poly" title=" " alt="" coords="838,165,898,164,969,167,1047,176,1122,194,1153,206,1182,222,1227,253,1224,258,1179,227,1151,211,1121,199,1046,181,969,172,897,169,838,170"/>
<area shape="rect" title=" " alt="" coords="743,502,818,528"/>
<area shape="poly" title=" " alt="" coords="831,501,900,487,949,483,1014,481,1076,475,1101,469,1120,460,1130,449,1134,438,1143,409,1190,334,1229,280,1234,283,1194,337,1148,411,1139,439,1134,452,1123,464,1103,474,1077,480,1014,486,950,489,900,492,832,506"/>
<area shape="poly" title=" " alt="" coords="832,526,892,539,965,548,1044,547,1083,541,1120,531,1151,517,1178,499,1222,460,1225,464,1182,503,1153,522,1122,536,1084,546,1044,552,965,553,891,544,831,532"/>
<area shape="rect" title=" " alt="" coords="1509,720,1717,745"/>
<area shape="poly" title=" " alt="" coords="1687,744,1731,748,1778,745,1825,735,1866,713,1890,691,1909,664,1923,634,1934,603,1946,545,1950,502,1956,503,1952,546,1939,605,1928,636,1913,667,1894,694,1870,717,1827,740,1779,751,1731,753,1686,750"/>
<area shape="poly" title=" " alt="" coords="1722,511,1868,499,1892,496,1892,502,1868,504,1723,517"/>
<area shape="poly" title=" " alt="" coords="1351,462,1518,498,1517,503,1350,467"/>
<area shape="rect" title=" " alt="" coords="690,668,871,708"/>
<area shape="poly" title=" " alt="" coords="885,687,1007,685,1156,678,1319,663,1481,639,1611,608,1737,569,1922,500,1923,505,1739,574,1613,613,1482,644,1320,669,1156,683,1007,690,885,692"/>
<area shape="rect" title=" " alt="" coords="248,652,428,677"/>
<area shape="poly" title=" " alt="" coords="442,667,690,681,690,686,442,673"/>
<area shape="poly" title=" " alt="" coords="416,710,661,699,690,697,690,702,662,704,417,715"/>
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0bd2dfa51885b1dc89d7dfcb88435803"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a0bd2dfa51885b1dc89d7dfcb88435803">DGRRouter</a> ()</td></tr>
<tr class="memdesc:a0bd2dfa51885b1dc89d7dfcb88435803"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a Global Router class.  <br /></td></tr>
<tr class="separator:a0bd2dfa51885b1dc89d7dfcb88435803"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac119cda89d816da90186bb617c710c25"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25">DiscoverLSAs</a> (void)</td></tr>
<tr class="memdesc:ac119cda89d816da90186bb617c710c25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Walk the connected channels, discover the adjacent routers and build the associated number of Global Routing Link State Advertisements that this router can export.  <br /></td></tr>
<tr class="separator:ac119cda89d816da90186bb617c710c25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed205a6c27d00eb8a5e3283969809829"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aed205a6c27d00eb8a5e3283969809829">GetInjectedRoute</a> (uint32_t <a class="el" href="../../d7/d2e/namespacens3.html#aa5e169e2453984d2f21c0d5cec9e907b">i</a>)</td></tr>
<tr class="memdesc:aed205a6c27d00eb8a5e3283969809829"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the injected route indexed by i.  <br /></td></tr>
<tr class="separator:aed205a6c27d00eb8a5e3283969809829"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ade1b0b9aa88148e3fb7366a29cb01f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a4ade1b0b9aa88148e3fb7366a29cb01f">GetLSA</a> (uint32_t n, <a class="el" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html">DGRRoutingLSA</a> &amp;lsa) const</td></tr>
<tr class="memdesc:a4ade1b0b9aa88148e3fb7366a29cb01f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a Global Routing Link State Advertisements that this router has said that it can export.  <br /></td></tr>
<tr class="separator:a4ade1b0b9aa88148e3fb7366a29cb01f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a438d464b3b2402bf8f7cc9e383542ae7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a438d464b3b2402bf8f7cc9e383542ae7">GetNInjectedRoutes</a> (void)</td></tr>
<tr class="memdesc:a438d464b3b2402bf8f7cc9e383542ae7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of injected routes that have been added to the routing table.  <br /></td></tr>
<tr class="separator:a438d464b3b2402bf8f7cc9e383542ae7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3021e686d8c500dbecdb4685c6a8e9f1"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a3021e686d8c500dbecdb4685c6a8e9f1">GetNumLSAs</a> (void) const</td></tr>
<tr class="memdesc:a3021e686d8c500dbecdb4685c6a8e9f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Number of Global Routing Link State Advertisements that this router can export.  <br /></td></tr>
<tr class="separator:a3021e686d8c500dbecdb4685c6a8e9f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8375eec1264922d460ba8a5978f4ace"><td class="memItemLeft" align="right" valign="top">Ipv4Address&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad8375eec1264922d460ba8a5978f4ace">GetRouterId</a> (void) const</td></tr>
<tr class="memdesc:ad8375eec1264922d460ba8a5978f4ace"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Router ID associated with this Global Router.  <br /></td></tr>
<tr class="separator:ad8375eec1264922d460ba8a5978f4ace"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87f63cac54a25accafa7c849a9aa0dbc"><td class="memItemLeft" align="right" valign="top">Ptr&lt; <a class="el" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html">Ipv4DGRRouting</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a87f63cac54a25accafa7c849a9aa0dbc">GetRoutingProtocol</a> (void)</td></tr>
<tr class="memdesc:a87f63cac54a25accafa7c849a9aa0dbc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the specific Global Routing Protocol used.  <br /></td></tr>
<tr class="separator:a87f63cac54a25accafa7c849a9aa0dbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ee18787000708d7c125fc228b405d43"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a2ee18787000708d7c125fc228b405d43">InjectRoute</a> (Ipv4Address network, Ipv4Mask networkMask)</td></tr>
<tr class="memdesc:a2ee18787000708d7c125fc228b405d43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inject a route to be circulated to other routers as an external route.  <br /></td></tr>
<tr class="separator:a2ee18787000708d7c125fc228b405d43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a9290440b576b8a32c3a944409cc38f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a2a9290440b576b8a32c3a944409cc38f">RemoveInjectedRoute</a> (uint32_t <a class="el" href="../../d7/d2e/namespacens3.html#aa5e169e2453984d2f21c0d5cec9e907b">i</a>)</td></tr>
<tr class="memdesc:a2a9290440b576b8a32c3a944409cc38f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Withdraw a route from the global unicast routing table.  <br /></td></tr>
<tr class="separator:a2a9290440b576b8a32c3a944409cc38f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad311356106cc37bb8b0c140e42a8102c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad311356106cc37bb8b0c140e42a8102c">SetRoutingProtocol</a> (Ptr&lt; <a class="el" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html">Ipv4DGRRouting</a> &gt; routing)</td></tr>
<tr class="memdesc:ad311356106cc37bb8b0c140e42a8102c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the specific Global Routing Protocol to be used.  <br /></td></tr>
<tr class="separator:ad311356106cc37bb8b0c140e42a8102c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af299a2048022a7a4f360e40d4b787eb8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#af299a2048022a7a4f360e40d4b787eb8">WithdrawRoute</a> (Ipv4Address network, Ipv4Mask networkMask)</td></tr>
<tr class="memdesc:af299a2048022a7a4f360e40d4b787eb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Withdraw a route from the global unicast routing table.  <br /></td></tr>
<tr class="separator:af299a2048022a7a4f360e40d4b787eb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a5e4510d23ed9e20780dc25f60e8fc6e4"><td class="memItemLeft" align="right" valign="top">static TypeId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a5e4510d23ed9e20780dc25f60e8fc6e4">GetTypeId</a> (void)</td></tr>
<tr class="memdesc:a5e4510d23ed9e20780dc25f60e8fc6e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the type ID.  <br /></td></tr>
<tr class="separator:a5e4510d23ed9e20780dc25f60e8fc6e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-types" name="pri-types"></a>
Private Types</h2></td></tr>
<tr class="memitem:a9f0ef594d1a61e21ef32e53fd1537428"><td class="memItemLeft" align="right" valign="top">typedef std::list&lt; <a class="el" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a9f0ef594d1a61e21ef32e53fd1537428">InjectedRoutes</a></td></tr>
<tr class="memdesc:a9f0ef594d1a61e21ef32e53fd1537428"><td class="mdescLeft">&#160;</td><td class="mdescRight">container of Ipv4RoutingTableEntry  <br /></td></tr>
<tr class="separator:a9f0ef594d1a61e21ef32e53fd1537428"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45ba88a691f800f523041ad82ce36f91"><td class="memItemLeft" align="right" valign="top">typedef std::list&lt; <a class="el" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> * &gt;::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a45ba88a691f800f523041ad82ce36f91">InjectedRoutesCI</a></td></tr>
<tr class="memdesc:a45ba88a691f800f523041ad82ce36f91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const Iterator to container of Ipv4RoutingTableEntry.  <br /></td></tr>
<tr class="separator:a45ba88a691f800f523041ad82ce36f91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a225672861cc79568c5c6c231b45951fd"><td class="memItemLeft" align="right" valign="top">typedef std::list&lt; <a class="el" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> * &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a225672861cc79568c5c6c231b45951fd">InjectedRoutesI</a></td></tr>
<tr class="memdesc:a225672861cc79568c5c6c231b45951fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterator to container of Ipv4RoutingTableEntry.  <br /></td></tr>
<tr class="separator:a225672861cc79568c5c6c231b45951fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac35345e38e068c7f0f3c1193d32ea80d"><td class="memItemLeft" align="right" valign="top">typedef std::list&lt; <a class="el" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html">DGRRoutingLSA</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac35345e38e068c7f0f3c1193d32ea80d">ListOfLSAs_t</a></td></tr>
<tr class="memdesc:ac35345e38e068c7f0f3c1193d32ea80d"><td class="mdescLeft">&#160;</td><td class="mdescRight">container for the GlobalRoutingLSAs  <br /></td></tr>
<tr class="separator:ac35345e38e068c7f0f3c1193d32ea80d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a8d1e4d9118fff9950f64bb55ce8e7d7c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a8d1e4d9118fff9950f64bb55ce8e7d7c">DGRRouter</a> (<a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html">DGRRouter</a> &amp;sr)</td></tr>
<tr class="memdesc:a8d1e4d9118fff9950f64bb55ce8e7d7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Global Router copy construction is disallowed.  <br /></td></tr>
<tr class="separator:a8d1e4d9118fff9950f64bb55ce8e7d7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0515aa6e787213f0d24aeae066261e7"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#af0515aa6e787213f0d24aeae066261e7">~DGRRouter</a> ()</td></tr>
<tr class="separator:af0515aa6e787213f0d24aeae066261e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1f4d3739e9972e6126b4f3c61b48cc3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad1f4d3739e9972e6126b4f3c61b48cc3">AnotherRouterOnLink</a> (Ptr&lt; NetDevice &gt; nd) const</td></tr>
<tr class="memdesc:ad1f4d3739e9972e6126b4f3c61b48cc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks for the presence of another router on the NetDevice.  <br /></td></tr>
<tr class="separator:ad1f4d3739e9972e6126b4f3c61b48cc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12f7423d137d6716fc597ee947173c41"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a12f7423d137d6716fc597ee947173c41">BridgeHasAlreadyBeenVisited</a> (Ptr&lt; BridgeNetDevice &gt; device) const</td></tr>
<tr class="memdesc:a12f7423d137d6716fc597ee947173c41"><td class="mdescLeft">&#160;</td><td class="mdescRight">When recursively checking for devices on the link, check whether a given device has already been visited.  <br /></td></tr>
<tr class="separator:a12f7423d137d6716fc597ee947173c41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a045a362fddd31a11a9c777bb64c889f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a045a362fddd31a11a9c777bb64c889f7">BuildNetworkLSAs</a> (NetDeviceContainer c)</td></tr>
<tr class="memdesc:a045a362fddd31a11a9c777bb64c889f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build one NetworkLSA for each net device talking to a network that we are the designated router for.  <br /></td></tr>
<tr class="separator:a045a362fddd31a11a9c777bb64c889f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c480fca2799ed5e445820561087500e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a9c480fca2799ed5e445820561087500e">ClearBridgesVisited</a> (void) const</td></tr>
<tr class="memdesc:a9c480fca2799ed5e445820561087500e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the list of bridges visited on the link.  <br /></td></tr>
<tr class="separator:a9c480fca2799ed5e445820561087500e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b22b001dff03d6d86ba7003104d8a26"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a2b22b001dff03d6d86ba7003104d8a26">ClearLSAs</a> (void)</td></tr>
<tr class="memdesc:a2b22b001dff03d6d86ba7003104d8a26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear list of LSAs.  <br /></td></tr>
<tr class="separator:a2b22b001dff03d6d86ba7003104d8a26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a344e058e98819ba13be13741adaddc27"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a344e058e98819ba13be13741adaddc27">DoDispose</a> (void)</td></tr>
<tr class="separator:a344e058e98819ba13be13741adaddc27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82bb020047d97bca36f66ab9c8eeb20a"><td class="memItemLeft" align="right" valign="top">NetDeviceContainer&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a82bb020047d97bca36f66ab9c8eeb20a">FindAllNonBridgedDevicesOnLink</a> (Ptr&lt; Channel &gt; ch) const</td></tr>
<tr class="memdesc:a82bb020047d97bca36f66ab9c8eeb20a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a container of all non-bridged NetDevices on a link.  <br /></td></tr>
<tr class="separator:a82bb020047d97bca36f66ab9c8eeb20a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4878eacca3b0a943b4e7e49d25dd8e1b"><td class="memItemLeft" align="right" valign="top">Ipv4Address&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a4878eacca3b0a943b4e7e49d25dd8e1b">FindDesignatedRouterForLink</a> (Ptr&lt; NetDevice &gt; ndLocal) const</td></tr>
<tr class="memdesc:a4878eacca3b0a943b4e7e49d25dd8e1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a designated router.  <br /></td></tr>
<tr class="separator:a4878eacca3b0a943b4e7e49d25dd8e1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a817add200a30892091534c2d42fa43e5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a817add200a30892091534c2d42fa43e5">FindInterfaceForDevice</a> (Ptr&lt; Node &gt; node, Ptr&lt; NetDevice &gt; nd, uint32_t &amp;index) const</td></tr>
<tr class="memdesc:a817add200a30892091534c2d42fa43e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a node and a net device, find an IPV4 interface index that corresponds to that net device.  <br /></td></tr>
<tr class="separator:a817add200a30892091534c2d42fa43e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc8946ca6068b51f7de5935696047a94"><td class="memItemLeft" align="right" valign="top">Ptr&lt; NetDevice &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#adc8946ca6068b51f7de5935696047a94">GetAdjacent</a> (Ptr&lt; NetDevice &gt; nd, Ptr&lt; Channel &gt; ch) const</td></tr>
<tr class="memdesc:adc8946ca6068b51f7de5935696047a94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Link through the given channel and find the net device that's on the other end.  <br /></td></tr>
<tr class="separator:adc8946ca6068b51f7de5935696047a94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac62c957b71fbe4ce12586c380dbfceeb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac62c957b71fbe4ce12586c380dbfceeb">MarkBridgeAsVisited</a> (Ptr&lt; BridgeNetDevice &gt; device) const</td></tr>
<tr class="memdesc:ac62c957b71fbe4ce12586c380dbfceeb"><td class="mdescLeft">&#160;</td><td class="mdescRight">When recursively checking for devices on the link, mark a given device as having been visited.  <br /></td></tr>
<tr class="separator:ac62c957b71fbe4ce12586c380dbfceeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53fdf9c96432439b34d091da6050890b"><td class="memItemLeft" align="right" valign="top">Ptr&lt; BridgeNetDevice &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a53fdf9c96432439b34d091da6050890b">NetDeviceIsBridged</a> (Ptr&lt; NetDevice &gt; nd) const</td></tr>
<tr class="memdesc:a53fdf9c96432439b34d091da6050890b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decide whether or not a given net device is being bridged by a BridgeNetDevice.  <br /></td></tr>
<tr class="separator:a53fdf9c96432439b34d091da6050890b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a59aa3e98d5a9cbff973b0165608eed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html">DGRRouter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a7a59aa3e98d5a9cbff973b0165608eed">operator=</a> (<a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html">DGRRouter</a> &amp;sr)</td></tr>
<tr class="memdesc:a7a59aa3e98d5a9cbff973b0165608eed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Global Router assignment operator is disallowed.  <br /></td></tr>
<tr class="separator:a7a59aa3e98d5a9cbff973b0165608eed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1075dd7ea9735e489838a39e29f6597"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac1075dd7ea9735e489838a39e29f6597">ProcessBridgedBroadcastLink</a> (Ptr&lt; NetDevice &gt; nd, <a class="el" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html">DGRRoutingLSA</a> *pLSA, NetDeviceContainer &amp;c)</td></tr>
<tr class="memdesc:ac1075dd7ea9735e489838a39e29f6597"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process a bridged broadcast link.  <br /></td></tr>
<tr class="separator:ac1075dd7ea9735e489838a39e29f6597"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa562c84d9a117e26103ac8338ec8094f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa562c84d9a117e26103ac8338ec8094f">ProcessBroadcastLink</a> (Ptr&lt; NetDevice &gt; nd, <a class="el" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html">DGRRoutingLSA</a> *pLSA, NetDeviceContainer &amp;c)</td></tr>
<tr class="memdesc:aa562c84d9a117e26103ac8338ec8094f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process a generic broadcast link.  <br /></td></tr>
<tr class="separator:aa562c84d9a117e26103ac8338ec8094f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac014913150c42a93cecbc6a9daf7552"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aac014913150c42a93cecbc6a9daf7552">ProcessPointToPointLink</a> (Ptr&lt; NetDevice &gt; ndLocal, <a class="el" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html">DGRRoutingLSA</a> *pLSA)</td></tr>
<tr class="memdesc:aac014913150c42a93cecbc6a9daf7552"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process a point to point link.  <br /></td></tr>
<tr class="separator:aac014913150c42a93cecbc6a9daf7552"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a920b7e48d18135f51a66b010b6d730cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a920b7e48d18135f51a66b010b6d730cc">ProcessSingleBroadcastLink</a> (Ptr&lt; NetDevice &gt; nd, <a class="el" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html">DGRRoutingLSA</a> *pLSA, NetDeviceContainer &amp;c)</td></tr>
<tr class="memdesc:a920b7e48d18135f51a66b010b6d730cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process a single broadcast link.  <br /></td></tr>
<tr class="separator:a920b7e48d18135f51a66b010b6d730cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a3a387b1e294fec2c8ab1e3b81e1a3a47"><td class="memItemLeft" align="right" valign="top">std::vector&lt; Ptr&lt; BridgeNetDevice &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a3a387b1e294fec2c8ab1e3b81e1a3a47">m_bridgesVisited</a></td></tr>
<tr class="memdesc:a3a387b1e294fec2c8ab1e3b81e1a3a47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Container of bridges visited.  <br /></td></tr>
<tr class="separator:a3a387b1e294fec2c8ab1e3b81e1a3a47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44d220216aad103c57fbd253f80df2b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a9f0ef594d1a61e21ef32e53fd1537428">InjectedRoutes</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a44d220216aad103c57fbd253f80df2b2">m_injectedRoutes</a></td></tr>
<tr class="memdesc:a44d220216aad103c57fbd253f80df2b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Routes we are exporting.  <br /></td></tr>
<tr class="separator:a44d220216aad103c57fbd253f80df2b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa839f56748d61a63ad55c0db58ddd07f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac35345e38e068c7f0f3c1193d32ea80d">ListOfLSAs_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa839f56748d61a63ad55c0db58ddd07f">m_LSAs</a></td></tr>
<tr class="memdesc:aa839f56748d61a63ad55c0db58ddd07f"><td class="mdescLeft">&#160;</td><td class="mdescRight">database of GlobalRoutingLSAs  <br /></td></tr>
<tr class="separator:aa839f56748d61a63ad55c0db58ddd07f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5a4a0b95c697c5121ee5096dfb1da61"><td class="memItemLeft" align="right" valign="top">Ipv4Address&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad5a4a0b95c697c5121ee5096dfb1da61">m_routerId</a></td></tr>
<tr class="memdesc:ad5a4a0b95c697c5121ee5096dfb1da61"><td class="mdescLeft">&#160;</td><td class="mdescRight">router ID (its IPv4 address)  <br /></td></tr>
<tr class="separator:ad5a4a0b95c697c5121ee5096dfb1da61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa705acbc7504f36647b15d3771ec7a5c"><td class="memItemLeft" align="right" valign="top">Ptr&lt; <a class="el" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html">Ipv4DGRRouting</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa705acbc7504f36647b15d3771ec7a5c">m_routingProtocol</a></td></tr>
<tr class="memdesc:aa705acbc7504f36647b15d3771ec7a5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">the Ipv4GlobalRouting in use  <br /></td></tr>
<tr class="separator:aa705acbc7504f36647b15d3771ec7a5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>An interface aggregated to a node to provide global routing info. </p>
<p>An interface aggregated to a node that provides global routing information to a global route manager. The presence of the interface indicates that the node is a router. The interface is the mechanism by which the router advertises its connections to neighboring routers. We're basically allowing the route manager to query for link state advertisements. </p>

<p class="definition">Definition at line <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00589">589</a> of file <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html">dgr-router-interface.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a9f0ef594d1a61e21ef32e53fd1537428" name="a9f0ef594d1a61e21ef32e53fd1537428"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f0ef594d1a61e21ef32e53fd1537428">&#9670;&#160;</a></span>InjectedRoutes</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::list&lt;<a class="el" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> *&gt; <a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a9f0ef594d1a61e21ef32e53fd1537428">ns3::DGRRouter::InjectedRoutes</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>container of Ipv4RoutingTableEntry </p>

<p class="definition">Definition at line <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00864">864</a> of file <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html">dgr-router-interface.h</a>.</p>

</div>
</div>
<a id="a45ba88a691f800f523041ad82ce36f91" name="a45ba88a691f800f523041ad82ce36f91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45ba88a691f800f523041ad82ce36f91">&#9670;&#160;</a></span>InjectedRoutesCI</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::list&lt;<a class="el" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a>*&gt;::const_iterator <a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a45ba88a691f800f523041ad82ce36f91">ns3::DGRRouter::InjectedRoutesCI</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Const Iterator to container of Ipv4RoutingTableEntry. </p>

<p class="definition">Definition at line <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00865">865</a> of file <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html">dgr-router-interface.h</a>.</p>

</div>
</div>
<a id="a225672861cc79568c5c6c231b45951fd" name="a225672861cc79568c5c6c231b45951fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a225672861cc79568c5c6c231b45951fd">&#9670;&#160;</a></span>InjectedRoutesI</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::list&lt;<a class="el" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a>*&gt;::iterator <a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a225672861cc79568c5c6c231b45951fd">ns3::DGRRouter::InjectedRoutesI</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Iterator to container of Ipv4RoutingTableEntry. </p>

<p class="definition">Definition at line <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00866">866</a> of file <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html">dgr-router-interface.h</a>.</p>

</div>
</div>
<a id="ac35345e38e068c7f0f3c1193d32ea80d" name="ac35345e38e068c7f0f3c1193d32ea80d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac35345e38e068c7f0f3c1193d32ea80d">&#9670;&#160;</a></span>ListOfLSAs_t</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::list&lt;<a class="el" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html">DGRRoutingLSA</a>*&gt; <a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac35345e38e068c7f0f3c1193d32ea80d">ns3::DGRRouter::ListOfLSAs_t</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>container for the GlobalRoutingLSAs </p>

<p class="definition">Definition at line <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00858">858</a> of file <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html">dgr-router-interface.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a0bd2dfa51885b1dc89d7dfcb88435803" name="a0bd2dfa51885b1dc89d7dfcb88435803"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bd2dfa51885b1dc89d7dfcb88435803">&#9670;&#160;</a></span>DGRRouter() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ns3::DGRRouter::DGRRouter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a Global Router class. </p>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00519">519</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../db/db2/dgr-route-manager_8cc_source.html#l00062">ns3::DGRRouteManager::AllocateRouterId()</a>, and <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00861">m_routerId</a>.</p>
<div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a0bd2dfa51885b1dc89d7dfcb88435803_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a0bd2dfa51885b1dc89d7dfcb88435803_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a0bd2dfa51885b1dc89d7dfcb88435803_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a0bd2dfa51885b1dc89d7dfcb88435803_cgraph">
<area shape="rect" title="Create a Global Router class." alt="" coords="5,13,211,38"/>
<area shape="rect" href="../../d1/da9/classns3_1_1_d_g_r_route_manager.html#a87bf2995a6dcd48692147452fea88d40" title="Allocate a 32&#45;bit router ID from monotonically increasing counter." alt="" coords="259,5,436,45"/>
<area shape="poly" title=" " alt="" coords="211,23,245,23,245,28,211,28"/>
</map>
</div>

</div>
</div>
<a id="af0515aa6e787213f0d24aeae066261e7" name="af0515aa6e787213f0d24aeae066261e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0515aa6e787213f0d24aeae066261e7">&#9670;&#160;</a></span>~DGRRouter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ns3::DGRRouter::~DGRRouter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00526">526</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00560">ClearLSAs()</a>.</p>
<div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-3-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_af0515aa6e787213f0d24aeae066261e7_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_af0515aa6e787213f0d24aeae066261e7_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_af0515aa6e787213f0d24aeae066261e7_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_af0515aa6e787213f0d24aeae066261e7_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,221,31"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a2b22b001dff03d6d86ba7003104d8a26" title="Clear list of LSAs." alt="" coords="269,5,468,31"/>
<area shape="poly" title=" " alt="" coords="221,15,255,15,255,21,221,21"/>
</map>
</div>

</div>
</div>
<a id="a8d1e4d9118fff9950f64bb55ce8e7d7c" name="a8d1e4d9118fff9950f64bb55ce8e7d7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d1e4d9118fff9950f64bb55ce8e7d7c">&#9670;&#160;</a></span>DGRRouter() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ns3::DGRRouter::DGRRouter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html">DGRRouter</a> &amp;&#160;</td>
          <td class="paramname"><em>sr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Global Router copy construction is disallowed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sr</td><td>object to copy from. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ad1f4d3739e9972e6126b4f3c61b48cc3" name="ad1f4d3739e9972e6126b4f3c61b48cc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1f4d3739e9972e6126b4f3c61b48cc3">&#9670;&#160;</a></span>AnotherRouterOnLink()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ns3::DGRRouter::AnotherRouterOnLink </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; NetDevice &gt;&#160;</td>
          <td class="paramname"><em>nd</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks for the presence of another router on the NetDevice. </p>
<p>Given a node and an attached net device, take a look off in the channel to which the net device is attached and look for a node on the other side that has a GlobalRouter interface aggregated. <br  />
</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nd</td><td>NetDevice to scan </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if a router is found </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01473">1473</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01473">AnotherRouterOnLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01816">BridgeHasAlreadyBeenVisited()</a>, <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01834">MarkBridgeAsVisited()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01764">NetDeviceIsBridged()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01473">AnotherRouterOnLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00875">ProcessBridgedBroadcastLink()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00761">ProcessSingleBroadcastLink()</a>.</p>
<div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-4-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_ad1f4d3739e9972e6126b4f3c61b48cc3_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_ad1f4d3739e9972e6126b4f3c61b48cc3_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_ad1f4d3739e9972e6126b4f3c61b48cc3_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_ad1f4d3739e9972e6126b4f3c61b48cc3_cgraph">
<area shape="rect" title="Checks for the presence of another router on the NetDevice." alt="" coords="5,69,232,109"/>
<area shape="poly" title=" " alt="" coords="70,70,67,60,75,50,92,45,119,43,149,45,166,53,164,58,148,51,119,48,93,50,78,55,72,61,75,68"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a12f7423d137d6716fc597ee947173c41" title="When recursively checking for devices on the link, check whether a given device has already been visi..." alt="" coords="284,5,484,45"/>
<area shape="poly" title=" " alt="" coords="202,67,287,46,288,51,203,72"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac62c957b71fbe4ce12586c380dbfceeb" title="When recursively checking for devices on the link, mark a given device as having been visited." alt="" coords="280,69,488,109"/>
<area shape="poly" title=" " alt="" coords="232,87,266,87,266,92,232,92"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a53fdf9c96432439b34d091da6050890b" title="Decide whether or not a given net device is being bridged by a BridgeNetDevice." alt="" coords="283,133,485,173"/>
<area shape="poly" title=" " alt="" coords="203,107,288,128,287,133,202,112"/>
</map>
</div>
<div id="dynsection-5" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-5-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_ad1f4d3739e9972e6126b4f3c61b48cc3_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_ad1f4d3739e9972e6126b4f3c61b48cc3_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_ad1f4d3739e9972e6126b4f3c61b48cc3_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_ad1f4d3739e9972e6126b4f3c61b48cc3_icgraph">
<area shape="rect" title="Checks for the presence of another router on the NetDevice." alt="" coords="880,37,1107,77"/>
<area shape="poly" title=" " alt="" coords="1041,26,1024,19,993,16,966,18,950,23,944,29,947,36,942,38,939,28,947,18,965,13,993,11,1025,13,1043,21"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac1075dd7ea9735e489838a39e29f6597" title="Process a bridged broadcast link." alt="" coords="599,5,832,45"/>
<area shape="poly" title=" " alt="" coords="866,45,832,41,833,36,867,40"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a920b7e48d18135f51a66b010b6d730cc" title="Process a single broadcast link." alt="" coords="604,69,827,109"/>
<area shape="poly" title=" " alt="" coords="866,75,827,79,827,74,866,69"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa562c84d9a117e26103ac8338ec8094f" title="Process a generic broadcast link." alt="" coords="276,45,551,70"/>
<area shape="poly" title=" " alt="" coords="585,42,534,47,533,42,584,37"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,45,228,70"/>
<area shape="poly" title=" " alt="" coords="262,60,228,60,228,55,262,55"/>
<area shape="poly" title=" " alt="" coords="590,79,533,73,533,67,590,73"/>
</map>
</div>

</div>
</div>
<a id="a12f7423d137d6716fc597ee947173c41" name="a12f7423d137d6716fc597ee947173c41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12f7423d137d6716fc597ee947173c41">&#9670;&#160;</a></span>BridgeHasAlreadyBeenVisited()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ns3::DGRRouter::BridgeHasAlreadyBeenVisited </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; BridgeNetDevice &gt;&#160;</td>
          <td class="paramname"><em>device</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>When recursively checking for devices on the link, check whether a given device has already been visited. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">device</td><td>the bridge device to check </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if bridge has already been visited </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01816">1816</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00874">m_bridgesVisited</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01473">AnotherRouterOnLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01272">FindAllNonBridgedDevicesOnLink()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01317">FindDesignatedRouterForLink()</a>.</p>
<div id="dynsection-6" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-6-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-6-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-6-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a12f7423d137d6716fc597ee947173c41_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a12f7423d137d6716fc597ee947173c41_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a12f7423d137d6716fc597ee947173c41_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a12f7423d137d6716fc597ee947173c41_icgraph">
<area shape="rect" title="When recursively checking for devices on the link, check whether a given device has already been visi..." alt="" coords="1163,117,1363,157"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad1f4d3739e9972e6126b4f3c61b48cc3" title="Checks for the presence of another router on the NetDevice." alt="" coords="884,117,1111,157"/>
<area shape="poly" title=" " alt="" coords="1149,140,1111,140,1111,135,1149,135"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a82bb020047d97bca36f66ab9c8eeb20a" title="Return a container of all non&#45;bridged NetDevices on a link." alt="" coords="896,205,1099,245"/>
<area shape="poly" title=" " alt="" coords="1189,164,1059,208,1058,203,1187,159"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a4878eacca3b0a943b4e7e49d25dd8e1b" title="Finds a designated router." alt="" coords="880,29,1115,69"/>
<area shape="poly" title=" " alt="" coords="1199,115,1114,84,1075,72,1077,67,1116,79,1200,110"/>
<area shape="poly" title=" " alt="" coords="1042,106,1027,99,997,96,972,98,956,103,951,109,953,116,948,118,945,108,953,98,971,93,997,91,1028,93,1045,101"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac1075dd7ea9735e489838a39e29f6597" title="Process a bridged broadcast link." alt="" coords="599,53,832,93"/>
<area shape="poly" title=" " alt="" coords="895,117,803,96,805,91,896,112"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a920b7e48d18135f51a66b010b6d730cc" title="Process a single broadcast link." alt="" coords="604,117,827,157"/>
<area shape="poly" title=" " alt="" coords="870,140,827,140,827,135,870,135"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa562c84d9a117e26103ac8338ec8094f" title="Process a generic broadcast link." alt="" coords="276,125,551,150"/>
<area shape="poly" title=" " alt="" coords="608,99,475,127,474,122,607,94"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,169,228,194"/>
<area shape="poly" title=" " alt="" coords="314,155,203,171,203,166,313,149"/>
<area shape="poly" title=" " alt="" coords="590,140,551,140,551,135,590,135"/>
<area shape="poly" title=" " alt="" coords="1042,194,1027,187,997,184,972,186,956,191,951,197,953,204,948,206,945,196,953,186,971,181,997,179,1028,181,1045,189"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a045a362fddd31a11a9c777bb64c889f7" title="Build one NetworkLSA for each net device talking to a network that we are the designated router for." alt="" coords="287,193,540,218"/>
<area shape="poly" title=" " alt="" coords="882,224,540,212,540,207,882,219"/>
<area shape="poly" title=" " alt="" coords="273,197,228,193,228,188,273,191"/>
<area shape="poly" title=" " alt="" coords="867,63,833,66,832,61,866,58"/>
<area shape="poly" title=" " alt="" coords="903,76,881,84,833,108,798,120,796,115,831,103,879,79,902,71"/>
<area shape="poly" title=" " alt="" coords="1042,18,1027,11,997,8,972,10,956,15,951,21,953,28,948,30,945,20,953,10,971,5,997,3,1028,5,1045,13"/>
</map>
</div>

</div>
</div>
<a id="a045a362fddd31a11a9c777bb64c889f7" name="a045a362fddd31a11a9c777bb64c889f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a045a362fddd31a11a9c777bb64c889f7">&#9670;&#160;</a></span>BuildNetworkLSAs()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouter::BuildNetworkLSAs </td>
          <td>(</td>
          <td class="paramtype">NetDeviceContainer&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Build one NetworkLSA for each net device talking to a network that we are the designated router for. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>the devices. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01161">1161</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00350">ns3::DGRRoutingLSA::AddAttachedRouter()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01807">ClearBridgesVisited()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01272">FindAllNonBridgedDevicesOnLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01734">FindInterfaceForDevice()</a>, <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00274">ns3::DGRRoutingLSA::LSA_SPF_NOT_EXPLORED</a>, <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00859">m_LSAs</a>, <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00861">m_routerId</a>, <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00263">ns3::DGRRoutingLSA::NetworkLSA</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00322">ns3::DGRRoutingLSA::SetAdvertisingRouter()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00308">ns3::DGRRoutingLSA::SetLinkStateId()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00294">ns3::DGRRoutingLSA::SetLSType()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00329">ns3::DGRRoutingLSA::SetNetworkLSANetworkMask()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00397">ns3::DGRRoutingLSA::SetNode()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00383">ns3::DGRRoutingLSA::SetStatus()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00593">DiscoverLSAs()</a>.</p>
<div id="dynsection-7" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-7-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-7-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-7-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a045a362fddd31a11a9c777bb64c889f7_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a045a362fddd31a11a9c777bb64c889f7_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a045a362fddd31a11a9c777bb64c889f7_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a045a362fddd31a11a9c777bb64c889f7_cgraph">
<area shape="rect" title="Build one NetworkLSA for each net device talking to a network that we are the designated router for." alt="" coords="5,325,259,350"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a945e5e3081dc4463d6335cf40d81b192" title="Add an attached router to the list in the NetworkLSA." alt="" coords="339,5,496,45"/>
<area shape="poly" title=" " alt="" coords="135,323,154,273,189,201,212,162,239,123,270,87,305,55,325,43,327,48,308,59,274,90,243,126,216,164,193,204,159,276,140,325"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a9c480fca2799ed5e445820561087500e" title="Clear the list of bridges visited on the link." alt="" coords="309,69,525,109"/>
<area shape="poly" title=" " alt="" coords="138,323,160,283,197,228,246,170,274,143,305,119,315,113,318,118,308,124,278,147,250,173,201,231,165,286,142,326"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a82bb020047d97bca36f66ab9c8eeb20a" title="Return a container of all non&#45;bridged NetDevices on a link." alt="" coords="316,157,519,197"/>
<area shape="poly" title=" " alt="" coords="145,322,211,267,257,235,305,207,321,200,324,205,308,212,260,240,214,272,149,327"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a817add200a30892091534c2d42fa43e5" title="Given a node and a net device, find an IPV4 interface index that corresponds to that net device." alt="" coords="308,221,527,261"/>
<area shape="poly" title=" " alt="" coords="165,322,306,271,331,263,332,268,308,276,167,327"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a5f36eb9409d5d6532b9bd267e8d90f61" title="Set the Advertising Router as defined by the OSPF spec." alt="" coords="333,285,501,325"/>
<area shape="poly" title=" " alt="" coords="245,322,319,314,320,319,246,327"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a382594771f20561edde6e6b53d3bd982" title="Set the Link State ID is defined by the OSPF spec." alt="" coords="339,349,496,389"/>
<area shape="poly" title=" " alt="" coords="246,347,325,356,325,362,245,353"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a898720f0e7c926c4ecd2ca89d09363dd" title="Set the LS type field of the LSA." alt="" coords="339,413,496,453"/>
<area shape="poly" title=" " alt="" coords="167,348,308,399,332,407,331,412,306,404,165,353"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a1d60ee05ffc0dd4d434fb12917f6c83e" title="For a Network LSA, set the Network Mask field that precedes the list of attached routers." alt="" coords="307,477,528,517"/>
<area shape="poly" title=" " alt="" coords="149,348,214,403,260,435,308,463,324,470,321,475,305,468,257,439,211,407,145,352"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a5fb6e248545fbd3d50b34429e4780746" title="Set the Node pointer of the node that originated this LSA." alt="" coords="339,541,496,581"/>
<area shape="poly" title=" " alt="" coords="144,349,167,384,205,433,252,483,308,527,327,537,324,542,305,532,249,487,201,436,163,387,139,352"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a497453d1271c0020968487ec8ead99c5" title="Set the SPF status of the advertisement." alt="" coords="339,605,496,645"/>
<area shape="poly" title=" " alt="" coords="141,349,161,395,196,461,246,531,275,563,308,591,327,602,324,607,305,596,272,567,241,534,192,464,156,398,136,351"/>
<area shape="poly" title=" " alt="" coords="369,158,366,148,374,138,391,133,417,131,448,134,464,141,462,146,446,139,417,136,392,138,377,143,371,149,374,156"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a12f7423d137d6716fc597ee947173c41" title="When recursively checking for devices on the link, check whether a given device has already been visi..." alt="" coords="580,93,780,133"/>
<area shape="poly" title=" " alt="" coords="500,155,583,134,585,139,501,160"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac62c957b71fbe4ce12586c380dbfceeb" title="When recursively checking for devices on the link, mark a given device as having been visited." alt="" coords="576,157,784,197"/>
<area shape="poly" title=" " alt="" coords="519,175,563,175,563,180,519,180"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a53fdf9c96432439b34d091da6050890b" title="Decide whether or not a given net device is being bridged by a BridgeNetDevice." alt="" coords="579,221,781,261"/>
<area shape="poly" title=" " alt="" coords="501,195,585,215,583,221,500,200"/>
</map>
</div>
<div id="dynsection-8" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-8-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-8-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-8-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a045a362fddd31a11a9c777bb64c889f7_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a045a362fddd31a11a9c777bb64c889f7_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a045a362fddd31a11a9c777bb64c889f7_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a045a362fddd31a11a9c777bb64c889f7_icgraph">
<area shape="rect" title="Build one NetworkLSA for each net device talking to a network that we are the designated router for." alt="" coords="276,5,529,31"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,5,228,31"/>
<area shape="poly" title=" " alt="" coords="262,21,228,21,228,15,262,15"/>
</map>
</div>

</div>
</div>
<a id="a9c480fca2799ed5e445820561087500e" name="a9c480fca2799ed5e445820561087500e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c480fca2799ed5e445820561087500e">&#9670;&#160;</a></span>ClearBridgesVisited()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouter::ClearBridgesVisited </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clear the list of bridges visited on the link. </p>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01807">1807</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00874">m_bridgesVisited</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01161">BuildNetworkLSAs()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00875">ProcessBridgedBroadcastLink()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00761">ProcessSingleBroadcastLink()</a>.</p>
<div id="dynsection-9" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-9-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-9-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-9-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a9c480fca2799ed5e445820561087500e_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a9c480fca2799ed5e445820561087500e_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a9c480fca2799ed5e445820561087500e_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a9c480fca2799ed5e445820561087500e_icgraph">
<area shape="rect" title="Clear the list of bridges visited on the link." alt="" coords="880,51,1096,91"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a045a362fddd31a11a9c777bb64c889f7" title="Build one NetworkLSA for each net device talking to a network that we are the designated router for." alt="" coords="287,5,540,31"/>
<area shape="poly" title=" " alt="" coords="888,51,832,42,681,28,540,22,540,17,681,23,832,37,889,46"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac1075dd7ea9735e489838a39e29f6597" title="Process a bridged broadcast link." alt="" coords="599,51,832,91"/>
<area shape="poly" title=" " alt="" coords="866,74,832,74,832,69,866,69"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a920b7e48d18135f51a66b010b6d730cc" title="Process a single broadcast link." alt="" coords="604,115,827,155"/>
<area shape="poly" title=" " alt="" coords="890,97,802,118,800,113,888,92"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,35,228,60"/>
<area shape="poly" title=" " alt="" coords="273,35,229,39,228,34,273,29"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa562c84d9a117e26103ac8338ec8094f" title="Process a generic broadcast link." alt="" coords="276,59,551,84"/>
<area shape="poly" title=" " alt="" coords="585,74,551,74,551,69,585,69"/>
<area shape="poly" title=" " alt="" coords="262,62,228,59,228,54,263,56"/>
<area shape="poly" title=" " alt="" coords="607,115,474,87,475,81,608,110"/>
</map>
</div>

</div>
</div>
<a id="a2b22b001dff03d6d86ba7003104d8a26" name="a2b22b001dff03d6d86ba7003104d8a26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b22b001dff03d6d86ba7003104d8a26">&#9670;&#160;</a></span>ClearLSAs()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouter::ClearLSAs </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clear list of LSAs. </p>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00560">560</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, and <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00859">m_LSAs</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00526">~DGRRouter()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00593">DiscoverLSAs()</a>.</p>
<div id="dynsection-10" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-10-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-10-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-10-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a2b22b001dff03d6d86ba7003104d8a26_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a2b22b001dff03d6d86ba7003104d8a26_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a2b22b001dff03d6d86ba7003104d8a26_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a2b22b001dff03d6d86ba7003104d8a26_icgraph">
<area shape="rect" title="Clear list of LSAs." alt="" coords="276,31,475,56"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#af0515aa6e787213f0d24aeae066261e7" title=" " alt="" coords="9,5,225,31"/>
<area shape="poly" title=" " alt="" coords="262,35,225,31,225,26,263,30"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,55,228,80"/>
<area shape="poly" title=" " alt="" coords="262,56,229,60,228,54,262,51"/>
</map>
</div>

</div>
</div>
<a id="ac119cda89d816da90186bb617c710c25" name="ac119cda89d816da90186bb617c710c25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac119cda89d816da90186bb617c710c25">&#9670;&#160;</a></span>DiscoverLSAs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DGRRouter::DiscoverLSAs </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Walk the connected channels, discover the adjacent routers and build the associated number of Global Routing Link State Advertisements that this router can export. </p>
<p>This is a fairly expensive operation in that every time it is called the current list of LSAs is built by walking connected point-to-point channels and peeking into adjacent IPV4 stacks to get address information. This is done to allow for limited dynamics of the Global Routing environment. By that we mean that you can discover new link state advertisements after a network topology change by calling DiscoverLSAs and then by reading those advertisements.</p>
<dl class="section see"><dt>See also</dt><dd>GlobalRoutingLSA </dd>
<dd>
GlobalRouter::GetLSA () </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The number of Global Routing Link State Advertisements. </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00593">593</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00266">ns3::DGRRoutingLSA::ASExternalLSAs</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01161">BuildNetworkLSAs()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00560">ClearLSAs()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01734">FindInterfaceForDevice()</a>, <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00274">ns3::DGRRoutingLSA::LSA_SPF_NOT_EXPLORED</a>, <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00867">m_injectedRoutes</a>, <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00859">m_LSAs</a>, <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00861">m_routerId</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01764">NetDeviceIsBridged()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00746">ProcessBroadcastLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01040">ProcessPointToPointLink()</a>, <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00262">ns3::DGRRoutingLSA::RouterLSA</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00322">ns3::DGRRoutingLSA::SetAdvertisingRouter()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00308">ns3::DGRRoutingLSA::SetLinkStateId()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00294">ns3::DGRRoutingLSA::SetLSType()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00329">ns3::DGRRoutingLSA::SetNetworkLSANetworkMask()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00397">ns3::DGRRoutingLSA::SetNode()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00383">ns3::DGRRoutingLSA::SetStatus()</a>.</p>
<div id="dynsection-11" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-11-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-11-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-11-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_ac119cda89d816da90186bb617c710c25_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_ac119cda89d816da90186bb617c710c25_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_ac119cda89d816da90186bb617c710c25_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_ac119cda89d816da90186bb617c710c25_cgraph">
<area shape="rect" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,964,228,989"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a045a362fddd31a11a9c777bb64c889f7" title="Build one NetworkLSA for each net device talking to a network that we are the designated router for." alt="" coords="287,938,540,964"/>
<area shape="poly" title=" " alt="" coords="228,964,272,960,273,966,229,969"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a53fdf9c96432439b34d091da6050890b" title="Decide whether or not a given net device is being bridged by a BridgeNetDevice." alt="" coords="1171,842,1373,882"/>
<area shape="poly" title=" " alt="" coords="131,961,192,914,232,886,275,861,361,816,431,786,503,764,598,744,666,728,723,714,749,712,776,715,804,726,834,745,853,767,862,791,862,817,859,843,855,868,856,892,863,915,882,936,923,958,968,968,1016,968,1064,959,1111,944,1155,925,1228,887,1230,891,1158,930,1113,949,1065,964,1016,973,967,974,921,963,878,940,859,918,850,893,850,868,853,842,857,817,856,792,849,770,830,749,801,730,775,720,749,717,723,719,667,733,599,750,505,769,433,791,363,821,277,865,235,890,195,918,134,966"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a817add200a30892091534c2d42fa43e5" title="Given a node and a net device, find an IPV4 interface index that corresponds to that net device." alt="" coords="1163,119,1381,159"/>
<area shape="poly" title=" " alt="" coords="116,963,124,877,147,735,167,653,195,570,230,488,274,412,339,323,401,251,463,193,528,147,599,110,679,79,772,52,879,24,945,10,998,3,1051,7,1116,24,1153,40,1187,62,1243,107,1240,111,1184,66,1150,45,1114,29,1050,13,998,8,946,15,881,30,773,57,681,84,601,115,531,152,466,197,405,255,343,326,278,415,234,490,200,572,173,655,153,736,129,878,121,964"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a5f36eb9409d5d6532b9bd267e8d90f61" title="Set the Advertising Router as defined by the OSPF spec." alt="" coords="631,759,799,799"/>
<area shape="poly" title=" " alt="" coords="156,961,640,801,641,806,157,966"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a382594771f20561edde6e6b53d3bd982" title="Set the Link State ID is defined by the OSPF spec." alt="" coords="637,988,794,1028"/>
<area shape="poly" title=" " alt="" coords="228,980,623,1001,622,1006,228,985"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a898720f0e7c926c4ecd2ca89d09363dd" title="Set the LS type field of the LSA." alt="" coords="637,1052,794,1092"/>
<area shape="poly" title=" " alt="" coords="188,986,276,1002,624,1056,623,1061,276,1007,187,992"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a1d60ee05ffc0dd4d434fb12917f6c83e" title="For a Network LSA, set the Network Mask field that precedes the list of attached routers." alt="" coords="605,1116,826,1156"/>
<area shape="poly" title=" " alt="" coords="140,987,201,1019,277,1051,357,1074,439,1093,591,1119,591,1125,438,1099,356,1080,275,1056,198,1024,138,991"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a5fb6e248545fbd3d50b34429e4780746" title="Set the Node pointer of the node that originated this LSA." alt="" coords="637,1180,794,1220"/>
<area shape="poly" title=" " alt="" coords="130,988,187,1052,229,1089,277,1119,341,1140,431,1159,623,1187,622,1193,430,1164,339,1145,275,1124,226,1093,183,1056,126,991"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a497453d1271c0020968487ec8ead99c5" title="Set the SPF status of the advertisement." alt="" coords="637,1244,794,1284"/>
<area shape="poly" title=" " alt="" coords="126,988,145,1028,178,1082,222,1138,248,1162,277,1183,314,1203,347,1214,378,1220,407,1221,471,1221,509,1223,551,1228,623,1242,622,1248,550,1234,508,1228,471,1226,407,1227,377,1225,346,1219,312,1207,275,1188,245,1167,218,1141,173,1085,141,1030,121,991"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a2b22b001dff03d6d86ba7003104d8a26" title="Clear list of LSAs." alt="" coords="314,1242,513,1268"/>
<area shape="poly" title=" " alt="" coords="125,989,143,1034,174,1097,219,1164,246,1195,277,1221,304,1235,301,1240,275,1225,243,1199,215,1168,169,1100,138,1036,120,990"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa562c84d9a117e26103ac8338ec8094f" title="Process a generic broadcast link." alt="" coords="276,514,551,540"/>
<area shape="poly" title=" " alt="" coords="122,962,182,853,274,701,336,616,390,548,395,552,340,619,278,704,186,856,127,965"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aac014913150c42a93cecbc6a9daf7552" title="Process a point to point link." alt="" coords="607,315,823,355"/>
<area shape="poly" title=" " alt="" coords="116,963,123,885,131,827,145,762,165,693,192,624,228,558,274,500,308,469,346,442,386,419,428,399,513,369,593,349,594,354,515,374,430,404,389,423,349,446,311,473,278,503,233,561,197,626,170,695,150,763,136,828,128,886,121,964"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a945e5e3081dc4463d6335cf40d81b192" title="Add an attached router to the list in the NetworkLSA." alt="" coords="637,924,794,964"/>
<area shape="poly" title=" " alt="" coords="540,945,623,944,623,949,540,951"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a9c480fca2799ed5e445820561087500e" title="Clear the list of bridges visited on the link." alt="" coords="889,798,1105,838"/>
<area shape="poly" title=" " alt="" coords="447,936,516,911,598,886,741,854,875,831,876,837,742,859,599,891,517,916,448,941"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a82bb020047d97bca36f66ab9c8eeb20a" title="Return a container of all non&#45;bridged NetDevices on a link." alt="" coords="896,886,1099,926"/>
<area shape="poly" title=" " alt="" coords="462,936,526,921,598,910,746,900,882,899,882,904,746,905,599,915,527,926,463,941"/>
<area shape="poly" title=" " alt="" coords="417,937,475,783,513,669,548,550,560,480,562,423,569,367,579,336,596,302,653,210,681,175,710,146,743,120,781,97,879,54,943,35,996,30,1050,38,1115,54,1148,64,1179,78,1233,109,1230,114,1177,83,1146,69,1114,59,1049,43,996,36,944,40,881,59,783,102,746,124,714,149,685,179,658,213,601,304,584,338,574,368,567,423,565,480,553,552,518,671,480,785,422,939"/>
<area shape="poly" title=" " alt="" coords="435,936,488,903,549,860,572,836,597,815,625,802,627,807,600,820,576,840,552,864,491,907,438,940"/>
<area shape="poly" title=" " alt="" coords="482,961,624,988,623,994,481,966"/>
<area shape="poly" title=" " alt="" coords="439,962,510,998,600,1038,624,1046,622,1051,598,1043,508,1003,437,966"/>
<area shape="poly" title=" " alt="" coords="428,962,497,1028,546,1068,600,1102,615,1109,612,1114,597,1107,543,1072,493,1032,424,966"/>
<area shape="poly" title=" " alt="" coords="424,963,449,1003,488,1058,539,1116,569,1143,600,1166,625,1178,622,1183,597,1171,565,1147,535,1120,483,1061,444,1006,420,965"/>
<area shape="poly" title=" " alt="" coords="424,963,503,1101,555,1180,579,1210,600,1230,625,1244,623,1249,597,1234,575,1214,551,1183,498,1104,419,965"/>
<area shape="poly" title=" " alt="" coords="947,886,943,876,952,867,970,861,997,859,1029,862,1046,869,1044,874,1028,867,997,864,971,866,954,871,949,877,952,884"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a12f7423d137d6716fc597ee947173c41" title="When recursively checking for devices on the link, check whether a given device has already been visi..." alt="" coords="1172,766,1372,806"/>
<area shape="poly" title=" " alt="" coords="1039,883,1162,827,1206,808,1208,813,1164,832,1042,888"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac62c957b71fbe4ce12586c380dbfceeb" title="When recursively checking for devices on the link, mark a given device as having been visited." alt="" coords="1168,702,1376,742"/>
<area shape="poly" title=" " alt="" coords="1058,883,1087,868,1113,848,1129,824,1135,800,1142,776,1161,752,1167,747,1171,751,1165,756,1147,778,1140,801,1134,826,1117,851,1090,872,1060,888"/>
<area shape="poly" title=" " alt="" coords="1098,887,1157,877,1158,883,1099,892"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac1075dd7ea9735e489838a39e29f6597" title="Process a bridged broadcast link." alt="" coords="599,507,832,547"/>
<area shape="poly" title=" " alt="" coords="551,524,585,524,585,530,551,530"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a920b7e48d18135f51a66b010b6d730cc" title="Process a single broadcast link." alt="" coords="604,443,827,483"/>
<area shape="poly" title=" " alt="" coords="474,512,607,483,608,488,475,517"/>
<area shape="poly" title=" " alt="" coords="733,546,834,702,847,726,854,747,864,765,882,784,889,789,886,793,878,788,859,768,849,749,842,729,830,704,728,549"/>
<area shape="poly" title=" " alt="" coords="761,544,834,571,879,582,927,591,976,594,1024,591,1071,579,1113,557,1157,518,1191,471,1218,418,1237,362,1251,307,1260,255,1267,172,1273,173,1265,255,1256,308,1243,363,1223,420,1196,473,1161,521,1116,561,1072,584,1025,596,976,600,926,596,878,588,833,576,759,549"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a4b21b880eb8b7b733039d0dfaa8b48a4" title="Add a given Global Routing Link Record to the LSA." alt="" coords="919,315,1076,355"/>
<area shape="poly" title=" " alt="" coords="814,505,830,493,843,478,850,463,853,431,857,398,865,381,878,365,904,348,907,353,882,369,869,384,862,399,859,431,855,464,847,481,834,497,817,509"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad1f4d3739e9972e6126b4f3c61b48cc3" title="Checks for the presence of another router on the NetDevice." alt="" coords="884,734,1111,774"/>
<area shape="poly" title=" " alt="" coords="734,545,795,616,836,658,882,695,933,725,931,730,878,700,833,662,791,620,730,549"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a4878eacca3b0a943b4e7e49d25dd8e1b" title="Finds a designated router." alt="" coords="880,646,1115,686"/>
<area shape="poly" title=" " alt="" coords="758,545,944,637,942,642,756,550"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#a06083e776955f21fe1fd4e4927cf0b24" title="Set the Link Data field of the Global Routing Link Record." alt="" coords="895,379,1099,419"/>
<area shape="poly" title=" " alt="" coords="809,504,830,493,846,478,854,462,862,445,878,429,888,423,891,427,882,433,866,448,858,464,850,481,834,497,812,509"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#a203541f10ca13f9cfb1987fbbff4416b" title="Set the Link ID field of the Global Routing Link Record." alt="" coords="895,443,1099,483"/>
<area shape="poly" title=" " alt="" coords="804,504,895,483,896,489,805,509"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#aacc16a8566cd389fd974cbeb8dde6ddd" title="Set the Link Type field of the Global Routing Link Record." alt="" coords="895,507,1099,547"/>
<area shape="poly" title=" " alt="" coords="832,524,882,524,882,530,832,530"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#ac6b9632b024b3799a25209f1392c1ab8" title="Set the Metric Data field of the Global Routing Link Record." alt="" coords="895,251,1099,291"/>
<area shape="poly" title=" " alt="" coords="815,505,830,493,847,470,854,447,855,423,853,399,851,375,853,350,860,325,878,301,883,297,886,301,882,305,865,328,858,351,857,375,859,399,861,423,859,448,852,472,834,497,819,509"/>
<area shape="poly" title=" " alt="" coords="1111,764,1158,770,1158,775,1111,769"/>
<area shape="poly" title=" " alt="" coords="1111,738,1154,733,1155,738,1111,743"/>
<area shape="poly" title=" " alt="" coords="1085,771,1116,783,1140,799,1164,815,1204,834,1201,839,1161,820,1137,803,1113,788,1083,776"/>
<area shape="poly" title=" " alt="" coords="947,734,943,724,952,715,970,709,997,707,1029,710,1046,717,1044,722,1028,715,997,712,971,714,954,719,949,725,952,732"/>
<area shape="poly" title=" " alt="" coords="1093,683,1116,695,1132,710,1141,724,1150,738,1164,751,1175,758,1172,762,1161,756,1145,742,1136,727,1128,713,1113,700,1090,688"/>
<area shape="poly" title=" " alt="" coords="1097,683,1161,696,1160,702,1096,688"/>
<area shape="poly" title=" " alt="" coords="1099,684,1116,696,1130,711,1137,726,1142,756,1147,786,1153,801,1165,816,1188,833,1185,837,1161,820,1148,804,1142,788,1137,757,1132,728,1125,714,1113,700,1096,688"/>
<area shape="poly" title=" " alt="" coords="1054,643,1086,625,1113,601,1151,548,1182,490,1207,429,1227,368,1253,255,1265,172,1270,173,1258,256,1232,370,1212,431,1187,493,1155,551,1117,605,1089,630,1057,648"/>
<area shape="poly" title=" " alt="" coords="947,646,943,636,952,627,970,621,997,619,1029,622,1046,629,1044,634,1028,627,997,624,971,626,954,631,949,637,952,644"/>
<area shape="poly" title=" " alt="" coords="820,481,834,493,858,530,867,568,865,604,859,641,852,677,851,713,859,748,882,784,885,787,881,791,878,787,854,750,845,713,847,676,853,640,860,604,861,568,853,532,830,497,817,485"/>
<area shape="poly" title=" " alt="" coords="747,441,790,408,830,365,840,348,845,331,849,299,856,268,864,252,878,237,908,215,935,203,962,196,989,194,1046,194,1078,192,1114,184,1196,160,1197,166,1115,190,1079,197,1046,199,989,200,963,202,937,208,910,220,882,241,868,255,861,270,855,300,850,332,845,350,834,369,794,412,751,445"/>
<area shape="poly" title=" " alt="" coords="744,441,805,402,879,365,905,355,906,360,881,369,807,407,747,445"/>
<area shape="poly" title=" " alt="" coords="819,481,834,493,852,519,861,544,863,569,861,594,860,645,866,670,882,696,899,712,919,725,916,730,895,716,878,699,861,672,854,645,856,594,857,569,856,545,848,521,830,497,816,485"/>
<area shape="poly" title=" " alt="" coords="812,481,834,493,851,508,860,523,869,539,882,557,923,599,963,635,960,639,919,603,878,561,864,542,856,526,847,511,830,497,809,485"/>
<area shape="poly" title=" " alt="" coords="804,440,895,419,896,425,805,445"/>
<area shape="poly" title=" " alt="" coords="827,460,881,460,881,466,827,466"/>
<area shape="poly" title=" " alt="" coords="805,480,896,501,895,507,804,486"/>
<area shape="poly" title=" " alt="" coords="743,441,785,407,830,365,843,347,852,331,862,316,878,301,888,295,891,299,882,305,866,319,856,334,848,350,834,369,789,411,746,445"/>
<area shape="poly" title=" " alt="" coords="720,314,739,264,770,200,792,167,817,136,846,108,879,86,922,69,967,60,1014,59,1061,63,1148,84,1219,111,1217,116,1146,89,1060,69,1014,64,968,65,923,74,881,91,849,112,821,139,796,170,775,203,744,266,725,316"/>
<area shape="poly" title=" " alt="" coords="823,332,905,332,905,338,823,338"/>
<area shape="poly" title=" " alt="" coords="805,352,896,373,895,379,804,358"/>
<area shape="poly" title=" " alt="" coords="747,353,807,391,881,429,901,436,899,441,879,433,805,395,744,357"/>
<area shape="poly" title=" " alt="" coords="746,353,789,387,834,429,848,448,856,464,866,478,882,493,891,499,888,503,878,497,862,482,852,466,843,450,830,433,785,391,743,357"/>
<area shape="poly" title=" " alt="" coords="804,312,895,291,896,297,805,317"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#adc8946ca6068b51f7de5935696047a94" title="Link through the given channel and find the net device that&#39;s on the other end." alt="" coords="891,101,1104,126"/>
<area shape="poly" title=" " alt="" coords="725,314,748,275,782,226,826,177,851,154,879,135,891,129,893,134,881,140,855,159,830,180,786,230,752,278,729,316"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad8375eec1264922d460ba8a5978f4ace" title="Get the Router ID associated with this Global Router." alt="" coords="892,150,1103,176"/>
<area shape="poly" title=" " alt="" coords="733,313,794,253,834,221,879,193,916,177,918,182,881,197,837,225,797,257,737,317"/>
</map>
</div>

</div>
</div>
<a id="a344e058e98819ba13be13741adaddc27" name="a344e058e98819ba13be13741adaddc27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a344e058e98819ba13be13741adaddc27">&#9670;&#160;</a></span>DoDispose()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouter::DoDispose </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00546">546</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00867">m_injectedRoutes</a>, and <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00862">m_routingProtocol</a>.</p>

</div>
</div>
<a id="a82bb020047d97bca36f66ab9c8eeb20a" name="a82bb020047d97bca36f66ab9c8eeb20a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82bb020047d97bca36f66ab9c8eeb20a">&#9670;&#160;</a></span>FindAllNonBridgedDevicesOnLink()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">NetDeviceContainer ns3::DGRRouter::FindAllNonBridgedDevicesOnLink </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; Channel &gt;&#160;</td>
          <td class="paramname"><em>ch</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return a container of all non-bridged NetDevices on a link. </p>
<p>This method will recursively find all of the 'edge' devices in an L2 broadcast domain. If there are no bridged devices, then the container returned is simply the set of devices on the channel passed in as an argument. If the link has bridges on it (and therefore multiple ns3::Channel objects interconnected by bridges), the method will find all of the non-bridged devices in the L2 broadcast domain.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ch</td><td>a channel from the link </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the NetDeviceContainer. </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01272">1272</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01816">BridgeHasAlreadyBeenVisited()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01272">FindAllNonBridgedDevicesOnLink()</a>, <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01834">MarkBridgeAsVisited()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01764">NetDeviceIsBridged()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01161">BuildNetworkLSAs()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01272">FindAllNonBridgedDevicesOnLink()</a>.</p>
<div id="dynsection-12" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-12-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-12-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-12-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a82bb020047d97bca36f66ab9c8eeb20a_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a82bb020047d97bca36f66ab9c8eeb20a_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a82bb020047d97bca36f66ab9c8eeb20a_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a82bb020047d97bca36f66ab9c8eeb20a_cgraph">
<area shape="rect" title="Return a container of all non&#45;bridged NetDevices on a link." alt="" coords="5,69,208,109"/>
<area shape="poly" title=" " alt="" coords="60,70,57,60,64,50,81,45,107,43,136,46,152,53,150,58,135,51,107,48,82,50,67,55,62,61,65,68"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a12f7423d137d6716fc597ee947173c41" title="When recursively checking for devices on the link, check whether a given device has already been visi..." alt="" coords="260,5,460,45"/>
<area shape="poly" title=" " alt="" coords="186,67,266,46,268,51,187,72"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac62c957b71fbe4ce12586c380dbfceeb" title="When recursively checking for devices on the link, mark a given device as having been visited." alt="" coords="256,69,464,109"/>
<area shape="poly" title=" " alt="" coords="208,87,242,87,242,92,208,92"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a53fdf9c96432439b34d091da6050890b" title="Decide whether or not a given net device is being bridged by a BridgeNetDevice." alt="" coords="259,133,461,173"/>
<area shape="poly" title=" " alt="" coords="187,107,268,127,266,133,186,112"/>
</map>
</div>
<div id="dynsection-13" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-13-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-13-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-13-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a82bb020047d97bca36f66ab9c8eeb20a_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a82bb020047d97bca36f66ab9c8eeb20a_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a82bb020047d97bca36f66ab9c8eeb20a_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a82bb020047d97bca36f66ab9c8eeb20a_icgraph">
<area shape="rect" title="Return a container of all non&#45;bridged NetDevices on a link." alt="" coords="577,29,780,69"/>
<area shape="poly" title=" " alt="" coords="726,18,709,11,679,8,652,10,636,15,630,21,633,28,628,30,625,20,633,10,651,5,679,3,710,5,728,13"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a045a362fddd31a11a9c777bb64c889f7" title="Build one NetworkLSA for each net device talking to a network that we are the designated router for." alt="" coords="276,37,529,62"/>
<area shape="poly" title=" " alt="" coords="563,52,529,52,529,47,563,47"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,37,228,62"/>
<area shape="poly" title=" " alt="" coords="262,52,228,52,228,47,262,47"/>
</map>
</div>

</div>
</div>
<a id="a4878eacca3b0a943b4e7e49d25dd8e1b" name="a4878eacca3b0a943b4e7e49d25dd8e1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4878eacca3b0a943b4e7e49d25dd8e1b">&#9670;&#160;</a></span>FindDesignatedRouterForLink()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Ipv4Address ns3::DGRRouter::FindDesignatedRouterForLink </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; NetDevice &gt;&#160;</td>
          <td class="paramname"><em>ndLocal</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Finds a designated router. </p>
<p>Given a local net device, we need to walk the channel to which the net device is attached and look for nodes with GlobalRouter interfaces on them (one of them will be us). Of these, the router with the lowest IP address on the net device connecting to the channel becomes the designated router for the link.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ndLocal</td><td>local NetDevice to scan </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the IP address of the designated router </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01317">1317</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01816">BridgeHasAlreadyBeenVisited()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01317">FindDesignatedRouterForLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01734">FindInterfaceForDevice()</a>, <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01834">MarkBridgeAsVisited()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01764">NetDeviceIsBridged()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01317">FindDesignatedRouterForLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00875">ProcessBridgedBroadcastLink()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00761">ProcessSingleBroadcastLink()</a>.</p>
<div id="dynsection-14" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-14-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-14-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-14-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a4878eacca3b0a943b4e7e49d25dd8e1b_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a4878eacca3b0a943b4e7e49d25dd8e1b_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a4878eacca3b0a943b4e7e49d25dd8e1b_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a4878eacca3b0a943b4e7e49d25dd8e1b_cgraph">
<area shape="rect" title="Finds a designated router." alt="" coords="5,101,240,141"/>
<area shape="poly" title=" " alt="" coords="72,102,69,92,77,82,95,77,123,75,154,77,172,85,170,90,153,83,123,80,96,82,80,87,74,93,77,100"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a12f7423d137d6716fc597ee947173c41" title="When recursively checking for devices on the link, check whether a given device has already been visi..." alt="" coords="297,5,497,45"/>
<area shape="poly" title=" " alt="" coords="171,99,287,55,311,47,313,52,289,60,173,104"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a817add200a30892091534c2d42fa43e5" title="Given a node and a net device, find an IPV4 interface index that corresponds to that net device." alt="" coords="288,69,507,109"/>
<area shape="poly" title=" " alt="" coords="240,105,274,101,275,106,240,110"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac62c957b71fbe4ce12586c380dbfceeb" title="When recursively checking for devices on the link, mark a given device as having been visited." alt="" coords="293,133,501,173"/>
<area shape="poly" title=" " alt="" coords="240,132,280,137,279,142,240,138"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a53fdf9c96432439b34d091da6050890b" title="Decide whether or not a given net device is being bridged by a BridgeNetDevice." alt="" coords="297,197,498,237"/>
<area shape="poly" title=" " alt="" coords="173,139,289,183,313,191,311,196,287,188,171,144"/>
</map>
</div>
<div id="dynsection-15" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-15-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-15-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-15-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a4878eacca3b0a943b4e7e49d25dd8e1b_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a4878eacca3b0a943b4e7e49d25dd8e1b_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a4878eacca3b0a943b4e7e49d25dd8e1b_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a4878eacca3b0a943b4e7e49d25dd8e1b_icgraph">
<area shape="rect" title="Finds a designated router." alt="" coords="880,37,1115,77"/>
<area shape="poly" title=" " alt="" coords="1045,26,1028,19,997,16,970,18,954,23,948,29,951,36,946,38,942,28,951,18,969,13,997,11,1030,13,1047,21"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac1075dd7ea9735e489838a39e29f6597" title="Process a bridged broadcast link." alt="" coords="599,5,832,45"/>
<area shape="poly" title=" " alt="" coords="866,45,832,41,833,36,867,40"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a920b7e48d18135f51a66b010b6d730cc" title="Process a single broadcast link." alt="" coords="604,69,827,109"/>
<area shape="poly" title=" " alt="" coords="867,75,827,79,827,74,866,70"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa562c84d9a117e26103ac8338ec8094f" title="Process a generic broadcast link." alt="" coords="276,45,551,70"/>
<area shape="poly" title=" " alt="" coords="585,42,534,47,533,42,584,37"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,45,228,70"/>
<area shape="poly" title=" " alt="" coords="262,60,228,60,228,55,262,55"/>
<area shape="poly" title=" " alt="" coords="590,79,533,73,533,67,590,73"/>
</map>
</div>

</div>
</div>
<a id="a817add200a30892091534c2d42fa43e5" name="a817add200a30892091534c2d42fa43e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a817add200a30892091534c2d42fa43e5">&#9670;&#160;</a></span>FindInterfaceForDevice()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ns3::DGRRouter::FindInterfaceForDevice </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; Node &gt;&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Ptr&lt; NetDevice &gt;&#160;</td>
          <td class="paramname"><em>nd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t &amp;&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Given a node and a net device, find an IPV4 interface index that corresponds to that net device. </p>
<p>This function may fail for various reasons. If a node does not have an internet stack (for example if it is a bridge) we won't have an IPv4 at all. If the node does have a stack, but the net device in question is bridged, there will not be an interface associated directly with the device.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node</td><td>the node </td></tr>
    <tr><td class="paramname">nd</td><td>outgoing NetDevice </td></tr>
    <tr><td class="paramname">index</td><td>the IPV4 interface index </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true on success </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01734">1734</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01161">BuildNetworkLSAs()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00593">DiscoverLSAs()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01317">FindDesignatedRouterForLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00875">ProcessBridgedBroadcastLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01040">ProcessPointToPointLink()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00761">ProcessSingleBroadcastLink()</a>.</p>
<div id="dynsection-16" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-16-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-16-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-16-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a817add200a30892091534c2d42fa43e5_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a817add200a30892091534c2d42fa43e5_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a817add200a30892091534c2d42fa43e5_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a817add200a30892091534c2d42fa43e5_icgraph">
<area shape="rect" title="Given a node and a net device, find an IPV4 interface index that corresponds to that net device." alt="" coords="1163,152,1381,192"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a045a362fddd31a11a9c777bb64c889f7" title="Build one NetworkLSA for each net device talking to a network that we are the designated router for." alt="" coords="287,17,540,42"/>
<area shape="poly" title=" " alt="" coords="1239,145,1184,100,1150,80,1114,64,1035,41,954,25,872,15,790,10,639,10,515,19,515,14,638,5,790,5,872,10,955,20,1037,36,1116,59,1152,75,1187,96,1242,140"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,97,228,122"/>
<area shape="poly" title=" " alt="" coords="1186,151,1114,136,992,119,868,108,621,97,400,98,228,105,228,99,400,93,621,92,868,102,993,114,1115,131,1187,146"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a4878eacca3b0a943b4e7e49d25dd8e1b" title="Finds a designated router." alt="" coords="880,192,1115,232"/>
<area shape="poly" title=" " alt="" coords="1150,192,1115,197,1115,192,1149,187"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac1075dd7ea9735e489838a39e29f6597" title="Process a bridged broadcast link." alt="" coords="599,123,832,163"/>
<area shape="poly" title=" " alt="" coords="1149,161,1115,159,832,147,832,142,1115,153,1149,156"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a920b7e48d18135f51a66b010b6d730cc" title="Process a single broadcast link." alt="" coords="604,192,827,232"/>
<area shape="poly" title=" " alt="" coords="1227,201,1175,227,1115,246,1031,257,945,256,864,247,796,235,797,229,865,242,945,251,1030,252,1114,241,1173,222,1225,196"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aac014913150c42a93cecbc6a9daf7552" title="Process a point to point link." alt="" coords="889,307,1105,347"/>
<area shape="poly" title=" " alt="" coords="1240,203,1184,247,1116,290,1072,309,1070,304,1113,286,1181,243,1236,199"/>
<area shape="poly" title=" " alt="" coords="341,48,277,64,158,99,157,94,275,59,340,42"/>
<area shape="poly" title=" " alt="" coords="1044,180,1028,173,997,171,971,172,954,177,949,183,952,191,947,192,943,182,952,173,970,167,997,165,1029,168,1046,175"/>
<area shape="poly" title=" " alt="" coords="901,191,797,165,798,160,903,186"/>
<area shape="poly" title=" " alt="" coords="866,215,827,215,827,209,866,209"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa562c84d9a117e26103ac8338ec8094f" title="Process a generic broadcast link." alt="" coords="276,130,551,155"/>
<area shape="poly" title=" " alt="" coords="585,145,551,145,551,140,585,140"/>
<area shape="poly" title=" " alt="" coords="286,131,228,124,229,119,287,126"/>
<area shape="poly" title=" " alt="" coords="613,191,469,158,470,153,615,186"/>
<area shape="poly" title=" " alt="" coords="876,308,599,252,437,213,275,169,149,124,151,119,277,164,438,208,601,247,877,303"/>
</map>
</div>

</div>
</div>
<a id="adc8946ca6068b51f7de5935696047a94" name="adc8946ca6068b51f7de5935696047a94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc8946ca6068b51f7de5935696047a94">&#9670;&#160;</a></span>GetAdjacent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Ptr&lt; NetDevice &gt; ns3::DGRRouter::GetAdjacent </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; NetDevice &gt;&#160;</td>
          <td class="paramname"><em>nd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Ptr&lt; Channel &gt;&#160;</td>
          <td class="paramname"><em>ch</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Link through the given channel and find the net device that's on the other end. </p>
<p>This only makes sense with a point-to-point channel.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nd</td><td>outgoing NetDevice </td></tr>
    <tr><td class="paramname">ch</td><td>channel </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the NetDevice on the other end </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01696">1696</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01040">ProcessPointToPointLink()</a>.</p>
<div id="dynsection-17" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-17-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-17-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-17-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_adc8946ca6068b51f7de5935696047a94_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_adc8946ca6068b51f7de5935696047a94_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_adc8946ca6068b51f7de5935696047a94_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_adc8946ca6068b51f7de5935696047a94_icgraph">
<area shape="rect" title="Link through the given channel and find the net device that&#39;s on the other end." alt="" coords="540,13,753,38"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aac014913150c42a93cecbc6a9daf7552" title="Process a point to point link." alt="" coords="276,5,492,45"/>
<area shape="poly" title=" " alt="" coords="527,28,492,28,492,23,527,23"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,13,228,38"/>
<area shape="poly" title=" " alt="" coords="262,28,228,28,228,23,262,23"/>
</map>
</div>

</div>
</div>
<a id="aed205a6c27d00eb8a5e3283969809829" name="aed205a6c27d00eb8a5e3283969809829"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed205a6c27d00eb8a5e3283969809829">&#9670;&#160;</a></span>GetInjectedRoute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> * ns3::DGRRouter::GetInjectedRoute </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the injected route indexed by i. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>the index of the route </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to that Ipv4RoutingTableEntry is returned </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01625">1625</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, and <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00867">m_injectedRoutes</a>.</p>

</div>
</div>
<a id="a4ade1b0b9aa88148e3fb7366a29cb01f" name="a4ade1b0b9aa88148e3fb7366a29cb01f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ade1b0b9aa88148e3fb7366a29cb01f">&#9670;&#160;</a></span>GetLSA()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ns3::DGRRouter::GetLSA </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html">DGRRoutingLSA</a> &amp;&#160;</td>
          <td class="paramname"><em>lsa</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a Global Routing Link State Advertisements that this router has said that it can export. </p>
<p>This is a fairly inexpensive expensive operation in that the hard work was done in GetNumLSAs. We just copy the indicated Global Routing Link State Advertisement into the requested GlobalRoutingLSA object.</p>
<p>You must call GlobalRouter::GetNumLSAs before calling this method in order to discover the adjacent routers and build the advertisements. GetNumLSAs will return the number of LSAs this router advertises. The parameter n (requested LSA number) must be in the range 0 to <a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a3021e686d8c500dbecdb4685c6a8e9f1" title="Get the Number of Global Routing Link State Advertisements that this router can export.">GetNumLSAs()</a> - 1.</p>
<dl class="section see"><dt>See also</dt><dd>GlobalRoutingLSA </dd>
<dd>
GlobalRouting::GetNumLSAs () </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>The index number of the LSA you want to read. </td></tr>
    <tr><td class="paramname">lsa</td><td>The GlobalRoutingLSA class to receive the LSA information. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of Global Router Link State Advertisements. </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01585">1585</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00280">ns3::DGRRoutingLSA::IsEmpty()</a>, and <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00859">m_LSAs</a>.</p>
<div id="dynsection-18" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-18-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-18-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-18-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a4ade1b0b9aa88148e3fb7366a29cb01f_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a4ade1b0b9aa88148e3fb7366a29cb01f_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a4ade1b0b9aa88148e3fb7366a29cb01f_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a4ade1b0b9aa88148e3fb7366a29cb01f_cgraph">
<area shape="rect" title="Get a Global Routing Link State Advertisements that this router has said that it can export." alt="" coords="5,13,187,38"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a658f443f5c9022b0e979b70076dd3b16" title="Check to see if the list of Global Routing Link Records present in the Global Routing Link State Adve..." alt="" coords="235,5,392,45"/>
<area shape="poly" title=" " alt="" coords="187,23,221,23,221,28,187,28"/>
</map>
</div>

</div>
</div>
<a id="a438d464b3b2402bf8f7cc9e383542ae7" name="a438d464b3b2402bf8f7cc9e383542ae7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a438d464b3b2402bf8f7cc9e383542ae7">&#9670;&#160;</a></span>GetNInjectedRoutes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DGRRouter::GetNInjectedRoutes </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of injected routes that have been added to the routing table. </p>
<dl class="section return"><dt>Returns</dt><dd>number of injected routes </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01648">1648</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00867">m_injectedRoutes</a>.</p>

</div>
</div>
<a id="a3021e686d8c500dbecdb4685c6a8e9f1" name="a3021e686d8c500dbecdb4685c6a8e9f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3021e686d8c500dbecdb4685c6a8e9f1">&#9670;&#160;</a></span>GetNumLSAs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DGRRouter::GetNumLSAs </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Number of Global Routing Link State Advertisements that this router can export. </p>
<p>To get meaningful information you must have previously called DiscoverLSAs. After you know how many LSAs are present in the router, you may call GetLSA () to retrieve the actual advertisement.</p>
<dl class="section see"><dt>See also</dt><dd>GlobalRouterLSA </dd>
<dd>
GlobalRouting::DiscoverLSAs () </dd>
<dd>
GlobalRouting::GetLSA () </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The number of Global Routing Link State Advertisements. </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01575">1575</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00859">m_LSAs</a>.</p>

</div>
</div>
<a id="ad8375eec1264922d460ba8a5978f4ace" name="ad8375eec1264922d460ba8a5978f4ace"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8375eec1264922d460ba8a5978f4ace">&#9670;&#160;</a></span>GetRouterId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Ipv4Address ns3::DGRRouter::GetRouterId </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Router ID associated with this Global Router. </p>
<p>The Router IDs are allocated in the RoutingEnvironment &ndash; one per Router, starting at 0.0.0.1 and incrementing with each instantiation of a router.</p>
<dl class="section see"><dt>See also</dt><dd>RoutingEnvironment::AllocateRouterId () </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The Router ID associated with the Global Router. </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00580">580</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00861">m_routerId</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01040">ProcessPointToPointLink()</a>.</p>
<div id="dynsection-19" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-19-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-19-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-19-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_ad8375eec1264922d460ba8a5978f4ace_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_ad8375eec1264922d460ba8a5978f4ace_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_ad8375eec1264922d460ba8a5978f4ace_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_ad8375eec1264922d460ba8a5978f4ace_icgraph">
<area shape="rect" title="Get the Router ID associated with this Global Router." alt="" coords="540,13,751,38"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aac014913150c42a93cecbc6a9daf7552" title="Process a point to point link." alt="" coords="276,5,492,45"/>
<area shape="poly" title=" " alt="" coords="527,28,492,28,492,23,527,23"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,13,228,38"/>
<area shape="poly" title=" " alt="" coords="262,28,228,28,228,23,262,23"/>
</map>
</div>

</div>
</div>
<a id="a87f63cac54a25accafa7c849a9aa0dbc" name="a87f63cac54a25accafa7c849a9aa0dbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87f63cac54a25accafa7c849a9aa0dbc">&#9670;&#160;</a></span>GetRoutingProtocol()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Ptr&lt; <a class="el" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html">Ipv4DGRRouting</a> &gt; ns3::DGRRouter::GetRoutingProtocol </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the specific Global Routing Protocol used. </p>
<dl class="section return"><dt>Returns</dt><dd>the routing protocol </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00539">539</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00862">m_routingProtocol</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d3/d4c/dgr-route-manager-impl_8cc_source.html#l00614">ns3::DGRRouteManagerImpl::BuildDGRRoutingDatabase()</a>, <a class="el" href="../../d3/d4c/dgr-route-manager-impl_8cc_source.html#l00570">ns3::DGRRouteManagerImpl::DeleteDGRRoutes()</a>, <a class="el" href="../../d3/d4c/dgr-route-manager-impl_8cc_source.html#l00696">ns3::DGRRouteManagerImpl::InitializeRoutes()</a>, <a class="el" href="../../d3/d4c/dgr-route-manager-impl_8cc_source.html#l01664">ns3::DGRRouteManagerImpl::SPFAddASExternal()</a>, <a class="el" href="../../d3/d4c/dgr-route-manager-impl_8cc_source.html#l02059">ns3::DGRRouteManagerImpl::SPFIntraAddRouter()</a>, <a class="el" href="../../d3/d4c/dgr-route-manager-impl_8cc_source.html#l01832">ns3::DGRRouteManagerImpl::SPFIntraAddStub()</a>, and <a class="el" href="../../d3/d4c/dgr-route-manager-impl_8cc_source.html#l02181">ns3::DGRRouteManagerImpl::SPFIntraAddTransit()</a>.</p>
<div id="dynsection-20" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-20-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-20-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-20-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a87f63cac54a25accafa7c849a9aa0dbc_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a87f63cac54a25accafa7c849a9aa0dbc_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a87f63cac54a25accafa7c849a9aa0dbc_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a87f63cac54a25accafa7c849a9aa0dbc_icgraph">
<area shape="rect" title="Get the specific Global Routing Protocol used." alt="" coords="1024,208,1231,248"/>
<area shape="rect" href="../../da/d20/classns3_1_1_d_g_r_route_manager_impl.html#a033d120271836b470fecfe120c6fdbc8" title="Build the routing database by gathering Link State Advertisements from each node exporting a DGRRoute..." alt="" coords="769,5,976,45"/>
<area shape="poly" title=" " alt="" coords="1104,198,1051,128,1015,91,975,60,952,48,955,43,977,55,1018,87,1055,125,1108,195"/>
<area shape="rect" href="../../da/d20/classns3_1_1_d_g_r_route_manager_impl.html#acfff2ecbb8d0d59a980f3876f1603aea" title="Delete all static routes on all nodes that have a DGRRouterInterface." alt="" coords="769,69,976,109"/>
<area shape="poly" title=" " alt="" coords="1087,202,1035,166,975,130,933,112,935,107,977,126,1038,161,1090,197"/>
<area shape="rect" href="../../da/d20/classns3_1_1_d_g_r_route_manager_impl.html#a3b798959aeda8a76373705151497692e" title="Compute routes using a Dijkstra SPF computation and populate per&#45;node forwarding tables." alt="" coords="5,200,212,240"/>
<area shape="poly" title=" " alt="" coords="1027,208,976,199,847,180,746,170,645,169,515,175,356,189,213,207,212,202,355,184,514,169,645,164,746,165,847,175,976,193,1028,203"/>
<area shape="rect" href="../../da/d20/classns3_1_1_d_g_r_route_manager_impl.html#a4169b90db3aa5437191ecf42e484f567" title="Add an external route to the routing tables." alt="" coords="769,208,976,248"/>
<area shape="poly" title=" " alt="" coords="1011,231,976,231,976,225,1011,225"/>
<area shape="rect" href="../../da/d20/classns3_1_1_d_g_r_route_manager_impl.html#a58756bc6216f5ebe1941a2102ae4cdf9" title="Add a host route to the routing tables." alt="" coords="515,272,721,312"/>
<area shape="poly" title=" " alt="" coords="1028,253,976,263,844,279,722,289,721,283,843,273,976,257,1027,248"/>
<area shape="rect" href="../../da/d20/classns3_1_1_d_g_r_route_manager_impl.html#a403b832078dcb8a4facb2ae6c7b2ce15" title="Add a stub to the routing tables." alt="" coords="769,336,976,376"/>
<area shape="poly" title=" " alt="" coords="1078,257,977,309,918,338,915,334,975,304,1075,252"/>
<area shape="rect" href="../../da/d20/classns3_1_1_d_g_r_route_manager_impl.html#a80ce56eb81842ac31afccfdd698d1d73" title="Add a transit to the routing tables." alt="" coords="515,424,721,464"/>
<area shape="poly" title=" " alt="" coords="1108,261,1085,293,1055,328,1019,362,977,390,914,417,848,434,782,444,722,448,722,443,782,438,847,429,913,412,975,386,1015,358,1051,324,1081,289,1104,258"/>
<area shape="rect" href="../../da/d20/classns3_1_1_d_g_r_route_manager_impl.html#ad51d5dbbd85120ad79227351fc16c9f4" title="Process Autonomous Systems (AS) External LSA." alt="" coords="515,208,721,248"/>
<area shape="poly" title=" " alt="" coords="756,231,722,231,722,225,756,225"/>
<area shape="poly" title=" " alt="" coords="661,196,646,189,618,187,593,189,579,193,573,199,576,207,571,208,568,198,576,189,592,183,618,181,647,184,663,191"/>
<area shape="rect" href="../../da/d20/classns3_1_1_d_g_r_route_manager_impl.html#a910c2efcc40a79d4c062eb08ceb11522" title="Calculate the shortest path first (SPF) tree." alt="" coords="260,272,467,312"/>
<area shape="poly" title=" " alt="" coords="525,254,444,275,443,269,524,249"/>
<area shape="poly" title=" " alt="" coords="278,271,180,243,181,238,280,266"/>
<area shape="poly" title=" " alt="" coords="501,295,467,295,467,289,501,289"/>
<area shape="rect" href="../../da/d20/classns3_1_1_d_g_r_route_manager_impl.html#a71dd2f4c78a96ecb7d86dd75fd6f78bd" title="Process Stub nodes." alt="" coords="515,360,721,400"/>
<area shape="poly" title=" " alt="" coords="756,370,722,373,721,368,756,364"/>
<area shape="poly" title=" " alt="" coords="545,358,421,315,423,310,547,353"/>
<area shape="poly" title=" " alt="" coords="661,348,646,341,618,339,593,341,579,345,573,351,576,359,571,360,568,350,576,341,592,335,618,333,647,336,663,343"/>
<area shape="poly" title=" " alt="" coords="527,421,513,414,475,391,439,364,383,314,387,310,442,360,478,386,516,410,530,416"/>
</map>
</div>

</div>
</div>
<a id="a5e4510d23ed9e20780dc25f60e8fc6e4" name="a5e4510d23ed9e20780dc25f60e8fc6e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e4510d23ed9e20780dc25f60e8fc6e4">&#9670;&#160;</a></span>GetTypeId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TypeId ns3::DGRRouter::GetTypeId </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the type ID. </p>
<dl class="section return"><dt>Returns</dt><dd>the object TypeId </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00511">511</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

</div>
</div>
<a id="a2ee18787000708d7c125fc228b405d43" name="a2ee18787000708d7c125fc228b405d43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ee18787000708d7c125fc228b405d43">&#9670;&#160;</a></span>InjectRoute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouter::InjectRoute </td>
          <td>(</td>
          <td class="paramtype">Ipv4Address&#160;</td>
          <td class="paramname"><em>network</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Ipv4Mask&#160;</td>
          <td class="paramname"><em>networkMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Inject a route to be circulated to other routers as an external route. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">network</td><td>The Network to inject </td></tr>
    <tr><td class="paramname">networkMask</td><td>The Network Mask to inject </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01611">1611</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00244">ns3::Ipv4DGRRoutingTableEntry::CreateNetworkRouteTo()</a>, and <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00867">m_injectedRoutes</a>.</p>
<div id="dynsection-21" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-21-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-21-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-21-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a2ee18787000708d7c125fc228b405d43_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a2ee18787000708d7c125fc228b405d43_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a2ee18787000708d7c125fc228b405d43_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a2ee18787000708d7c125fc228b405d43_cgraph">
<area shape="rect" title="Inject a route to be circulated to other routers as an external route." alt="" coords="5,13,212,38"/>
<area shape="rect" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#ac251919954195223794f62f921d9708b" title=" " alt="" coords="260,5,473,45"/>
<area shape="poly" title=" " alt="" coords="212,23,246,23,246,28,212,28"/>
<area shape="rect" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a08c459157d5b8556f84e72cc5b1598eb" title="This constructor does nothing." alt="" coords="521,5,760,45"/>
<area shape="poly" title=" " alt="" coords="474,23,507,23,507,28,474,28"/>
</map>
</div>

</div>
</div>
<a id="ac62c957b71fbe4ce12586c380dbfceeb" name="ac62c957b71fbe4ce12586c380dbfceeb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac62c957b71fbe4ce12586c380dbfceeb">&#9670;&#160;</a></span>MarkBridgeAsVisited()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouter::MarkBridgeAsVisited </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; BridgeNetDevice &gt;&#160;</td>
          <td class="paramname"><em>device</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>When recursively checking for devices on the link, mark a given device as having been visited. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">device</td><td>the bridge device to mark </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01834">1834</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00874">m_bridgesVisited</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01473">AnotherRouterOnLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01272">FindAllNonBridgedDevicesOnLink()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01317">FindDesignatedRouterForLink()</a>.</p>
<div id="dynsection-22" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-22-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-22-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-22-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_ac62c957b71fbe4ce12586c380dbfceeb_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_ac62c957b71fbe4ce12586c380dbfceeb_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_ac62c957b71fbe4ce12586c380dbfceeb_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_ac62c957b71fbe4ce12586c380dbfceeb_icgraph">
<area shape="rect" title="When recursively checking for devices on the link, mark a given device as having been visited." alt="" coords="1163,117,1371,157"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad1f4d3739e9972e6126b4f3c61b48cc3" title="Checks for the presence of another router on the NetDevice." alt="" coords="884,117,1111,157"/>
<area shape="poly" title=" " alt="" coords="1149,140,1111,140,1111,135,1149,135"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a82bb020047d97bca36f66ab9c8eeb20a" title="Return a container of all non&#45;bridged NetDevices on a link." alt="" coords="896,205,1099,245"/>
<area shape="poly" title=" " alt="" coords="1192,164,1061,208,1059,203,1191,159"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a4878eacca3b0a943b4e7e49d25dd8e1b" title="Finds a designated router." alt="" coords="880,29,1115,69"/>
<area shape="poly" title=" " alt="" coords="1201,115,1114,84,1074,72,1076,67,1115,79,1203,110"/>
<area shape="poly" title=" " alt="" coords="1043,106,1027,99,997,96,971,98,955,103,950,109,953,116,947,118,944,108,953,98,970,93,997,91,1029,93,1046,101"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac1075dd7ea9735e489838a39e29f6597" title="Process a bridged broadcast link." alt="" coords="599,53,832,93"/>
<area shape="poly" title=" " alt="" coords="895,117,803,96,805,91,896,112"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a920b7e48d18135f51a66b010b6d730cc" title="Process a single broadcast link." alt="" coords="604,117,827,157"/>
<area shape="poly" title=" " alt="" coords="870,140,827,140,827,135,870,135"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa562c84d9a117e26103ac8338ec8094f" title="Process a generic broadcast link." alt="" coords="276,125,551,150"/>
<area shape="poly" title=" " alt="" coords="608,99,475,127,474,122,607,94"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,169,228,194"/>
<area shape="poly" title=" " alt="" coords="314,155,203,171,203,166,313,149"/>
<area shape="poly" title=" " alt="" coords="590,140,551,140,551,135,590,135"/>
<area shape="poly" title=" " alt="" coords="1043,194,1027,187,997,184,971,186,955,191,950,197,953,204,947,206,944,196,953,186,970,181,997,179,1029,181,1046,189"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a045a362fddd31a11a9c777bb64c889f7" title="Build one NetworkLSA for each net device talking to a network that we are the designated router for." alt="" coords="287,193,540,218"/>
<area shape="poly" title=" " alt="" coords="882,224,540,212,540,207,882,219"/>
<area shape="poly" title=" " alt="" coords="273,197,228,193,228,188,273,191"/>
<area shape="poly" title=" " alt="" coords="867,63,833,66,832,61,866,58"/>
<area shape="poly" title=" " alt="" coords="903,76,881,84,833,108,798,120,796,115,831,103,879,79,902,71"/>
<area shape="poly" title=" " alt="" coords="1043,18,1027,11,997,8,971,10,955,15,950,21,953,28,947,30,944,20,953,10,970,5,997,3,1029,5,1046,13"/>
</map>
</div>

</div>
</div>
<a id="a53fdf9c96432439b34d091da6050890b" name="a53fdf9c96432439b34d091da6050890b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53fdf9c96432439b34d091da6050890b">&#9670;&#160;</a></span>NetDeviceIsBridged()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Ptr&lt; BridgeNetDevice &gt; ns3::DGRRouter::NetDeviceIsBridged </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; NetDevice &gt;&#160;</td>
          <td class="paramname"><em>nd</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Decide whether or not a given net device is being bridged by a BridgeNetDevice. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nd</td><td>the NetDevice </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the BridgeNetDevice smart pointer or null if not found </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01764">1764</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01473">AnotherRouterOnLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00593">DiscoverLSAs()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01272">FindAllNonBridgedDevicesOnLink()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01317">FindDesignatedRouterForLink()</a>.</p>
<div id="dynsection-23" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-23-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-23-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-23-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a53fdf9c96432439b34d091da6050890b_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a53fdf9c96432439b34d091da6050890b_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a53fdf9c96432439b34d091da6050890b_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a53fdf9c96432439b34d091da6050890b_icgraph">
<area shape="rect" title="Decide whether or not a given net device is being bridged by a BridgeNetDevice." alt="" coords="1163,126,1364,166"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad1f4d3739e9972e6126b4f3c61b48cc3" title="Checks for the presence of another router on the NetDevice." alt="" coords="884,82,1111,122"/>
<area shape="poly" title=" " alt="" coords="1149,130,1110,123,1111,118,1150,124"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,133,228,158"/>
<area shape="poly" title=" " alt="" coords="1229,119,1178,79,1147,62,1114,48,1045,30,974,18,901,11,829,8,684,15,545,33,417,58,306,87,152,136,151,131,304,82,416,53,544,27,684,9,829,3,902,6,974,13,1046,25,1116,43,1149,57,1181,75,1233,114"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a82bb020047d97bca36f66ab9c8eeb20a" title="Return a container of all non&#45;bridged NetDevices on a link." alt="" coords="896,258,1099,298"/>
<area shape="poly" title=" " alt="" coords="1213,175,1116,224,1042,260,1040,255,1113,219,1210,170"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a4878eacca3b0a943b4e7e49d25dd8e1b" title="Finds a designated router." alt="" coords="880,170,1115,210"/>
<area shape="poly" title=" " alt="" coords="1150,167,1115,173,1114,168,1149,162"/>
<area shape="poly" title=" " alt="" coords="1042,70,1027,63,997,60,972,62,956,67,951,73,953,81,948,82,945,72,953,63,971,57,997,55,1028,58,1045,65"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac1075dd7ea9735e489838a39e29f6597" title="Process a bridged broadcast link." alt="" coords="599,94,832,134"/>
<area shape="poly" title=" " alt="" coords="870,110,832,111,832,106,870,105"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a920b7e48d18135f51a66b010b6d730cc" title="Process a single broadcast link." alt="" coords="604,158,827,198"/>
<area shape="poly" title=" " alt="" coords="910,128,791,160,790,155,908,123"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa562c84d9a117e26103ac8338ec8094f" title="Process a generic broadcast link." alt="" coords="276,133,551,158"/>
<area shape="poly" title=" " alt="" coords="585,130,534,136,533,130,584,125"/>
<area shape="poly" title=" " alt="" coords="262,148,228,148,228,143,262,143"/>
<area shape="poly" title=" " alt="" coords="590,167,533,161,533,156,590,162"/>
<area shape="poly" title=" " alt="" coords="1042,246,1027,239,997,236,972,238,956,243,951,249,953,257,948,258,945,248,953,239,971,233,997,231,1028,234,1045,241"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a045a362fddd31a11a9c777bb64c889f7" title="Build one NetworkLSA for each net device talking to a network that we are the designated router for." alt="" coords="287,186,540,212"/>
<area shape="poly" title=" " alt="" coords="882,265,508,214,509,209,882,260"/>
<area shape="poly" title=" " alt="" coords="328,187,188,161,188,156,329,181"/>
<area shape="poly" title=" " alt="" coords="908,169,790,136,791,131,910,164"/>
<area shape="poly" title=" " alt="" coords="866,187,827,185,827,180,866,182"/>
<area shape="poly" title=" " alt="" coords="1042,158,1027,151,997,148,972,150,956,155,951,161,953,169,948,170,945,160,953,151,971,145,997,143,1028,146,1045,153"/>
</map>
</div>

</div>
</div>
<a id="a7a59aa3e98d5a9cbff973b0165608eed" name="a7a59aa3e98d5a9cbff973b0165608eed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a59aa3e98d5a9cbff973b0165608eed">&#9670;&#160;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html">DGRRouter</a> &amp; ns3::DGRRouter::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html">DGRRouter</a> &amp;&#160;</td>
          <td class="paramname"><em>sr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Global Router assignment operator is disallowed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sr</td><td>object to copy from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The object copied. </dd></dl>

</div>
</div>
<a id="ac1075dd7ea9735e489838a39e29f6597" name="ac1075dd7ea9735e489838a39e29f6597"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1075dd7ea9735e489838a39e29f6597">&#9670;&#160;</a></span>ProcessBridgedBroadcastLink()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouter::ProcessBridgedBroadcastLink </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; NetDevice &gt;&#160;</td>
          <td class="paramname"><em>nd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html">DGRRoutingLSA</a> *&#160;</td>
          <td class="paramname"><em>pLSA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NetDeviceContainer &amp;&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Process a bridged broadcast link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nd</td><td>the NetDevice </td></tr>
    <tr><td class="paramname">pLSA</td><td>the Global LSA </td></tr>
    <tr><td class="paramname">c</td><td>the returned NetDevice container </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00875">875</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00247">ns3::DGRRoutingLSA::AddLinkRecord()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01473">AnotherRouterOnLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01807">ClearBridgesVisited()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01317">FindDesignatedRouterForLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01734">FindInterfaceForDevice()</a>, <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00096">ns3::DGRRoutingLinkRecord::SetLinkData()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00082">ns3::DGRRoutingLinkRecord::SetLinkId()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00110">ns3::DGRRoutingLinkRecord::SetLinkType()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00125">ns3::DGRRoutingLinkRecord::SetMetric()</a>, <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00066">ns3::DGRRoutingLinkRecord::StubNetwork</a>, and <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00065">ns3::DGRRoutingLinkRecord::TransitNetwork</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00746">ProcessBroadcastLink()</a>.</p>
<div id="dynsection-24" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-24-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-24-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-24-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_ac1075dd7ea9735e489838a39e29f6597_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_ac1075dd7ea9735e489838a39e29f6597_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_ac1075dd7ea9735e489838a39e29f6597_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_ac1075dd7ea9735e489838a39e29f6597_cgraph">
<area shape="rect" title="Process a bridged broadcast link." alt="" coords="5,296,239,336"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a4b21b880eb8b7b733039d0dfaa8b48a4" title="Add a given Global Routing Link Record to the LSA." alt="" coords="325,5,483,45"/>
<area shape="poly" title=" " alt="" coords="128,295,147,246,180,181,226,113,254,82,285,55,311,41,314,45,288,60,258,86,230,117,185,184,152,248,133,297"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad1f4d3739e9972e6126b4f3c61b48cc3" title="Checks for the presence of another router on the NetDevice." alt="" coords="291,93,517,133"/>
<area shape="poly" title=" " alt="" coords="135,294,194,220,237,179,285,143,298,136,300,141,288,148,240,183,198,224,139,297"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a9c480fca2799ed5e445820561087500e" title="Clear the list of bridges visited on the link." alt="" coords="296,296,512,336"/>
<area shape="poly" title=" " alt="" coords="239,313,282,313,282,319,239,319"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a4878eacca3b0a943b4e7e49d25dd8e1b" title="Finds a designated router." alt="" coords="287,181,521,221"/>
<area shape="poly" title=" " alt="" coords="162,294,286,238,324,223,326,228,288,242,164,298"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a817add200a30892091534c2d42fa43e5" title="Given a node and a net device, find an IPV4 interface index that corresponds to that net device." alt="" coords="569,243,788,283"/>
<area shape="poly" title=" " alt="" coords="213,293,286,281,426,269,555,262,556,268,426,274,287,287,214,299"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#a06083e776955f21fe1fd4e4927cf0b24" title="Set the Link Data field of the Global Routing Link Record." alt="" coords="302,360,506,400"/>
<area shape="poly" title=" " alt="" coords="212,333,303,354,302,360,210,339"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#a203541f10ca13f9cfb1987fbbff4416b" title="Set the Link ID field of the Global Routing Link Record." alt="" coords="302,424,506,464"/>
<area shape="poly" title=" " alt="" coords="154,334,214,372,288,410,307,417,305,422,286,414,211,377,151,338"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#aacc16a8566cd389fd974cbeb8dde6ddd" title="Set the Link Type field of the Global Routing Link Record." alt="" coords="302,488,506,528"/>
<area shape="poly" title=" " alt="" coords="141,335,200,403,242,441,288,474,301,480,298,485,285,478,238,445,196,407,137,338"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#ac6b9632b024b3799a25209f1392c1ab8" title="Set the Metric Data field of the Global Routing Link Record." alt="" coords="302,552,506,592"/>
<area shape="poly" title=" " alt="" coords="135,335,156,378,190,433,234,490,260,515,288,538,298,544,295,548,285,542,256,519,230,493,185,436,152,380,130,337"/>
<area shape="poly" title=" " alt="" coords="353,94,350,84,358,74,376,69,404,67,436,69,453,77,451,82,434,75,404,72,377,74,361,79,355,85,358,92"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a12f7423d137d6716fc597ee947173c41" title="When recursively checking for devices on the link, check whether a given device has already been visi..." alt="" coords="579,51,779,91"/>
<area shape="poly" title=" " alt="" coords="517,93,564,86,565,91,518,98"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac62c957b71fbe4ce12586c380dbfceeb" title="When recursively checking for devices on the link, mark a given device as having been visited." alt="" coords="575,115,783,155"/>
<area shape="poly" title=" " alt="" coords="518,119,561,123,561,128,517,125"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a53fdf9c96432439b34d091da6050890b" title="Decide whether or not a given net device is being bridged by a BridgeNetDevice." alt="" coords="578,179,779,219"/>
<area shape="poly" title=" " alt="" coords="485,131,522,143,570,164,593,172,591,177,568,169,520,148,484,136"/>
<area shape="poly" title=" " alt="" coords="453,179,520,143,543,121,553,111,568,100,582,93,584,98,571,105,556,115,547,125,523,147,456,184"/>
<area shape="poly" title=" " alt="" coords="486,179,582,155,583,161,488,184"/>
<area shape="poly" title=" " alt="" coords="521,198,564,197,564,202,522,203"/>
<area shape="poly" title=" " alt="" coords="353,182,350,172,358,162,376,157,404,155,436,157,453,165,451,170,434,163,404,160,377,162,361,167,355,173,358,180"/>
<area shape="poly" title=" " alt="" coords="495,219,576,237,575,242,494,224"/>
</map>
</div>
<div id="dynsection-25" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-25-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-25-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-25-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_ac1075dd7ea9735e489838a39e29f6597_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_ac1075dd7ea9735e489838a39e29f6597_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_ac1075dd7ea9735e489838a39e29f6597_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_ac1075dd7ea9735e489838a39e29f6597_icgraph">
<area shape="rect" title="Process a bridged broadcast link." alt="" coords="599,5,832,45"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa562c84d9a117e26103ac8338ec8094f" title="Process a generic broadcast link." alt="" coords="276,13,551,38"/>
<area shape="poly" title=" " alt="" coords="585,28,551,28,551,23,585,23"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,13,228,38"/>
<area shape="poly" title=" " alt="" coords="262,28,228,28,228,23,262,23"/>
</map>
</div>

</div>
</div>
<a id="aa562c84d9a117e26103ac8338ec8094f" name="aa562c84d9a117e26103ac8338ec8094f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa562c84d9a117e26103ac8338ec8094f">&#9670;&#160;</a></span>ProcessBroadcastLink()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouter::ProcessBroadcastLink </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; NetDevice &gt;&#160;</td>
          <td class="paramname"><em>nd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html">DGRRoutingLSA</a> *&#160;</td>
          <td class="paramname"><em>pLSA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NetDeviceContainer &amp;&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Process a generic broadcast link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nd</td><td>the NetDevice </td></tr>
    <tr><td class="paramname">pLSA</td><td>the Global LSA </td></tr>
    <tr><td class="paramname">c</td><td>the returned NetDevice container </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00746">746</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00875">ProcessBridgedBroadcastLink()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00761">ProcessSingleBroadcastLink()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00593">DiscoverLSAs()</a>.</p>
<div id="dynsection-26" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-26-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-26-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-26-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_aa562c84d9a117e26103ac8338ec8094f_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_aa562c84d9a117e26103ac8338ec8094f_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_aa562c84d9a117e26103ac8338ec8094f_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_aa562c84d9a117e26103ac8338ec8094f_cgraph">
<area shape="rect" title="Process a generic broadcast link." alt="" coords="5,351,280,377"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac1075dd7ea9735e489838a39e29f6597" title="Process a bridged broadcast link." alt="" coords="328,312,561,352"/>
<area shape="poly" title=" " alt="" coords="262,349,314,343,314,348,263,354"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a920b7e48d18135f51a66b010b6d730cc" title="Process a single broadcast link." alt="" coords="333,376,556,416"/>
<area shape="poly" title=" " alt="" coords="263,374,320,380,319,385,262,379"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a4b21b880eb8b7b733039d0dfaa8b48a4" title="Add a given Global Routing Link Record to the LSA." alt="" coords="648,312,805,352"/>
<area shape="poly" title=" " alt="" coords="562,329,634,329,634,335,562,335"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad1f4d3739e9972e6126b4f3c61b48cc3" title="Checks for the presence of another router on the NetDevice." alt="" coords="613,45,840,85"/>
<area shape="poly" title=" " alt="" coords="452,311,473,266,506,208,552,147,578,119,608,95,617,89,620,94,611,99,582,123,556,150,511,210,478,268,457,313"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a9c480fca2799ed5e445820561087500e" title="Clear the list of bridges visited on the link." alt="" coords="619,440,835,480"/>
<area shape="poly" title=" " alt="" coords="541,350,563,362,579,378,588,395,596,411,611,426,620,432,617,436,608,430,591,414,583,397,575,381,560,366,538,354"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a4878eacca3b0a943b4e7e49d25dd8e1b" title="Finds a designated router." alt="" coords="609,133,844,173"/>
<area shape="poly" title=" " alt="" coords="463,310,524,251,564,218,608,190,637,176,639,181,611,194,567,223,527,255,467,313"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a817add200a30892091534c2d42fa43e5" title="Given a node and a net device, find an IPV4 interface index that corresponds to that net device." alt="" coords="892,197,1111,237"/>
<area shape="poly" title=" " alt="" coords="470,310,530,269,568,249,609,233,677,218,747,209,816,205,879,206,879,211,816,211,748,214,678,223,610,239,571,254,533,273,473,314"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#a06083e776955f21fe1fd4e4927cf0b24" title="Set the Link Data field of the Global Routing Link Record." alt="" coords="625,568,829,608"/>
<area shape="poly" title=" " alt="" coords="548,350,563,362,581,387,589,411,590,436,588,460,586,484,587,508,595,531,611,554,616,558,612,562,607,558,590,533,582,509,581,484,583,460,585,436,583,412,576,389,559,366,545,354"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#a203541f10ca13f9cfb1987fbbff4416b" title="Set the Link ID field of the Global Routing Link Record." alt="" coords="625,504,829,544"/>
<area shape="poly" title=" " alt="" coords="546,350,563,362,577,378,584,395,588,428,592,460,598,475,611,490,616,494,612,498,607,494,594,478,587,461,583,428,579,396,572,381,560,366,543,354"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#aacc16a8566cd389fd974cbeb8dde6ddd" title="Set the Link Type field of the Global Routing Link Record." alt="" coords="625,376,829,416"/>
<area shape="poly" title=" " alt="" coords="534,349,626,370,624,376,533,355"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#ac6b9632b024b3799a25209f1392c1ab8" title="Set the Metric Data field of the Global Routing Link Record." alt="" coords="625,248,829,288"/>
<area shape="poly" title=" " alt="" coords="533,309,624,288,626,294,534,315"/>
<area shape="poly" title=" " alt="" coords="676,46,673,36,681,26,699,21,727,19,758,21,776,29,774,34,757,27,727,24,700,26,684,31,678,37,681,44"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a12f7423d137d6716fc597ee947173c41" title="When recursively checking for devices on the link, check whether a given device has already been visi..." alt="" coords="901,5,1101,45"/>
<area shape="poly" title=" " alt="" coords="840,46,887,39,888,45,841,51"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac62c957b71fbe4ce12586c380dbfceeb" title="When recursively checking for devices on the link, mark a given device as having been visited." alt="" coords="897,69,1105,109"/>
<area shape="poly" title=" " alt="" coords="840,73,884,76,883,82,840,78"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a53fdf9c96432439b34d091da6050890b" title="Decide whether or not a given net device is being bridged by a BridgeNetDevice." alt="" coords="901,133,1102,173"/>
<area shape="poly" title=" " alt="" coords="809,83,845,95,893,119,914,126,912,131,891,124,843,100,808,88"/>
<area shape="poly" title=" " alt="" coords="775,131,842,95,866,75,891,55,905,48,908,53,893,60,869,79,846,100,778,136"/>
<area shape="poly" title=" " alt="" coords="813,131,901,110,902,115,814,136"/>
<area shape="poly" title=" " alt="" coords="844,151,887,151,887,156,844,156"/>
<area shape="poly" title=" " alt="" coords="676,134,673,124,681,114,699,109,727,107,758,109,776,117,774,122,757,115,727,112,700,114,684,119,678,125,681,132"/>
<area shape="poly" title=" " alt="" coords="814,171,902,192,901,197,813,176"/>
<area shape="poly" title=" " alt="" coords="533,373,634,350,635,355,534,379"/>
<area shape="poly" title=" " alt="" coords="545,374,559,362,581,330,589,297,588,264,583,231,577,198,576,164,585,130,607,96,611,92,614,96,611,99,590,132,582,164,583,197,588,230,593,264,594,298,586,332,563,366,549,378"/>
<area shape="poly" title=" " alt="" coords="534,413,626,434,624,440,533,419"/>
<area shape="poly" title=" " alt="" coords="543,374,560,362,573,347,580,333,586,302,590,270,596,253,607,234,638,203,673,178,676,183,642,207,611,238,601,255,595,271,591,303,585,334,577,350,563,366,546,378"/>
<area shape="poly" title=" " alt="" coords="456,415,476,460,508,517,553,574,580,598,611,618,674,646,702,654,729,657,756,656,783,649,812,636,842,618,885,581,918,536,944,486,964,433,978,380,988,330,996,251,1001,251,993,331,983,381,969,434,949,488,923,539,888,585,846,622,814,641,785,654,757,661,729,662,701,659,672,651,608,622,577,603,549,578,503,520,471,463,451,417"/>
<area shape="poly" title=" " alt="" coords="463,415,523,483,564,521,611,554,623,560,621,565,608,558,561,525,519,487,459,418"/>
<area shape="poly" title=" " alt="" coords="476,414,537,452,610,490,630,497,628,502,608,494,534,457,473,418"/>
<area shape="poly" title=" " alt="" coords="556,393,611,393,611,399,556,399"/>
<area shape="poly" title=" " alt="" coords="538,374,560,362,575,347,583,331,591,314,608,298,617,292,620,296,611,302,596,317,588,333,579,350,563,366,541,378"/>
</map>
</div>
<div id="dynsection-27" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-27-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-27-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-27-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_aa562c84d9a117e26103ac8338ec8094f_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_aa562c84d9a117e26103ac8338ec8094f_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_aa562c84d9a117e26103ac8338ec8094f_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_aa562c84d9a117e26103ac8338ec8094f_icgraph">
<area shape="rect" title="Process a generic broadcast link." alt="" coords="276,5,551,31"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,5,228,31"/>
<area shape="poly" title=" " alt="" coords="262,21,228,21,228,15,262,15"/>
</map>
</div>

</div>
</div>
<a id="aac014913150c42a93cecbc6a9daf7552" name="aac014913150c42a93cecbc6a9daf7552"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac014913150c42a93cecbc6a9daf7552">&#9670;&#160;</a></span>ProcessPointToPointLink()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouter::ProcessPointToPointLink </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; NetDevice &gt;&#160;</td>
          <td class="paramname"><em>ndLocal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html">DGRRoutingLSA</a> *&#160;</td>
          <td class="paramname"><em>pLSA</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Process a point to point link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ndLocal</td><td>the NetDevice </td></tr>
    <tr><td class="paramname">pLSA</td><td>the Global LSA </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01040">1040</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00247">ns3::DGRRoutingLSA::AddLinkRecord()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01734">FindInterfaceForDevice()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01696">GetAdjacent()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00580">GetRouterId()</a>, <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00064">ns3::DGRRoutingLinkRecord::PointToPoint</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00096">ns3::DGRRoutingLinkRecord::SetLinkData()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00082">ns3::DGRRoutingLinkRecord::SetLinkId()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00110">ns3::DGRRoutingLinkRecord::SetLinkType()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00125">ns3::DGRRoutingLinkRecord::SetMetric()</a>, and <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00066">ns3::DGRRoutingLinkRecord::StubNetwork</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00593">DiscoverLSAs()</a>.</p>
<div id="dynsection-28" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-28-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-28-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-28-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_aac014913150c42a93cecbc6a9daf7552_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_aac014913150c42a93cecbc6a9daf7552_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_aac014913150c42a93cecbc6a9daf7552_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_aac014913150c42a93cecbc6a9daf7552_cgraph">
<area shape="rect" title="Process a point to point link." alt="" coords="5,205,221,245"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a4b21b880eb8b7b733039d0dfaa8b48a4" title="Add a given Global Routing Link Record to the LSA." alt="" coords="300,5,457,45"/>
<area shape="poly" title=" " alt="" coords="126,203,182,131,222,90,268,55,286,46,288,50,271,60,226,94,186,135,130,207"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a817add200a30892091534c2d42fa43e5" title="Given a node and a net device, find an IPV4 interface index that corresponds to that net device." alt="" coords="269,69,488,109"/>
<area shape="poly" title=" " alt="" coords="138,203,196,161,268,119,285,112,287,117,271,124,198,165,141,207"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#adc8946ca6068b51f7de5935696047a94" title="Link through the given channel and find the net device that&#39;s on the other end." alt="" coords="272,134,485,159"/>
<area shape="poly" title=" " alt="" coords="166,203,269,168,301,160,302,165,270,173,167,208"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad8375eec1264922d460ba8a5978f4ace" title="Get the Router ID associated with this Global Router." alt="" coords="273,183,484,209"/>
<area shape="poly" title=" " alt="" coords="221,211,259,207,260,212,222,216"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#a06083e776955f21fe1fd4e4927cf0b24" title="Set the Link Data field of the Global Routing Link Record." alt="" coords="277,233,481,273"/>
<area shape="poly" title=" " alt="" coords="222,234,263,238,263,244,221,239"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#a203541f10ca13f9cfb1987fbbff4416b" title="Set the Link ID field of the Global Routing Link Record." alt="" coords="277,297,481,337"/>
<area shape="poly" title=" " alt="" coords="164,243,270,283,294,291,293,296,268,288,162,248"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#aacc16a8566cd389fd974cbeb8dde6ddd" title="Set the Link Type field of the Global Routing Link Record." alt="" coords="277,361,481,401"/>
<area shape="poly" title=" " alt="" coords="136,243,194,295,231,323,271,347,285,354,283,359,268,352,228,327,190,299,133,247"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#ac6b9632b024b3799a25209f1392c1ab8" title="Set the Metric Data field of the Global Routing Link Record." alt="" coords="277,425,481,465"/>
<area shape="poly" title=" " alt="" coords="128,244,150,280,182,325,223,372,271,411,281,417,278,422,268,416,219,375,178,329,146,283,124,247"/>
</map>
</div>
<div id="dynsection-29" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-29-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-29-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-29-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_aac014913150c42a93cecbc6a9daf7552_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_aac014913150c42a93cecbc6a9daf7552_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_aac014913150c42a93cecbc6a9daf7552_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_aac014913150c42a93cecbc6a9daf7552_icgraph">
<area shape="rect" title="Process a point to point link." alt="" coords="276,5,492,45"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,13,228,38"/>
<area shape="poly" title=" " alt="" coords="262,28,228,28,228,23,262,23"/>
</map>
</div>

</div>
</div>
<a id="a920b7e48d18135f51a66b010b6d730cc" name="a920b7e48d18135f51a66b010b6d730cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a920b7e48d18135f51a66b010b6d730cc">&#9670;&#160;</a></span>ProcessSingleBroadcastLink()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouter::ProcessSingleBroadcastLink </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; NetDevice &gt;&#160;</td>
          <td class="paramname"><em>nd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html">DGRRoutingLSA</a> *&#160;</td>
          <td class="paramname"><em>pLSA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NetDeviceContainer &amp;&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Process a single broadcast link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nd</td><td>the NetDevice </td></tr>
    <tr><td class="paramname">pLSA</td><td>the Global LSA </td></tr>
    <tr><td class="paramname">c</td><td>the returned NetDevice container </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00761">761</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00247">ns3::DGRRoutingLSA::AddLinkRecord()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01473">AnotherRouterOnLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01807">ClearBridgesVisited()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01317">FindDesignatedRouterForLink()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01734">FindInterfaceForDevice()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00096">ns3::DGRRoutingLinkRecord::SetLinkData()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00082">ns3::DGRRoutingLinkRecord::SetLinkId()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00110">ns3::DGRRoutingLinkRecord::SetLinkType()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00125">ns3::DGRRoutingLinkRecord::SetMetric()</a>, <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00066">ns3::DGRRoutingLinkRecord::StubNetwork</a>, and <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00065">ns3::DGRRoutingLinkRecord::TransitNetwork</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00746">ProcessBroadcastLink()</a>.</p>
<div id="dynsection-30" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-30-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-30-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-30-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a920b7e48d18135f51a66b010b6d730cc_cgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a920b7e48d18135f51a66b010b6d730cc_cgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a920b7e48d18135f51a66b010b6d730cc_cgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a920b7e48d18135f51a66b010b6d730cc_cgraph">
<area shape="rect" title="Process a single broadcast link." alt="" coords="5,296,228,336"/>
<area shape="rect" href="../../d5/d4d/classns3_1_1_d_g_r_routing_l_s_a.html#a4b21b880eb8b7b733039d0dfaa8b48a4" title="Add a given Global Routing Link Record to the LSA." alt="" coords="315,5,472,45"/>
<area shape="poly" title=" " alt="" coords="122,295,141,246,172,181,216,113,244,82,274,55,301,40,303,45,278,60,248,86,221,117,177,184,146,248,127,297"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ad1f4d3739e9972e6126b4f3c61b48cc3" title="Checks for the presence of another router on the NetDevice." alt="" coords="280,93,507,133"/>
<area shape="poly" title=" " alt="" coords="129,294,186,220,227,179,275,143,286,137,289,141,277,148,231,183,190,224,133,297"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a9c480fca2799ed5e445820561087500e" title="Clear the list of bridges visited on the link." alt="" coords="285,296,501,336"/>
<area shape="poly" title=" " alt="" coords="228,313,271,313,271,319,228,319"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a4878eacca3b0a943b4e7e49d25dd8e1b" title="Finds a designated router." alt="" coords="276,181,511,221"/>
<area shape="poly" title=" " alt="" coords="155,293,275,238,313,223,315,228,277,242,157,298"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a817add200a30892091534c2d42fa43e5" title="Given a node and a net device, find an IPV4 interface index that corresponds to that net device." alt="" coords="559,243,777,283"/>
<area shape="poly" title=" " alt="" coords="205,293,276,281,415,268,545,262,545,267,415,274,276,287,206,299"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#a06083e776955f21fe1fd4e4927cf0b24" title="Set the Link Data field of the Global Routing Link Record." alt="" coords="291,360,495,400"/>
<area shape="poly" title=" " alt="" coords="205,333,294,354,293,360,203,339"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#a203541f10ca13f9cfb1987fbbff4416b" title="Set the Link ID field of the Global Routing Link Record." alt="" coords="291,424,495,464"/>
<area shape="poly" title=" " alt="" coords="147,334,206,372,277,410,296,417,294,422,275,414,203,377,144,338"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#aacc16a8566cd389fd974cbeb8dde6ddd" title="Set the Link Type field of the Global Routing Link Record." alt="" coords="291,488,495,528"/>
<area shape="poly" title=" " alt="" coords="134,334,192,403,232,441,277,474,290,480,287,485,275,478,229,445,188,407,130,338"/>
<area shape="rect" href="../../de/d53/classns3_1_1_d_g_r_routing_link_record.html#ac6b9632b024b3799a25209f1392c1ab8" title="Set the Metric Data field of the Global Routing Link Record." alt="" coords="291,552,495,592"/>
<area shape="poly" title=" " alt="" coords="129,335,150,378,182,433,225,490,250,515,278,538,286,543,283,548,274,542,246,519,221,493,177,436,145,380,124,337"/>
<area shape="poly" title=" " alt="" coords="343,94,339,84,348,74,366,69,393,67,425,69,442,77,440,82,424,75,393,72,367,74,350,79,345,85,348,92"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a12f7423d137d6716fc597ee947173c41" title="When recursively checking for devices on the link, check whether a given device has already been visi..." alt="" coords="568,51,768,91"/>
<area shape="poly" title=" " alt="" coords="506,93,554,86,555,91,507,98"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac62c957b71fbe4ce12586c380dbfceeb" title="When recursively checking for devices on the link, mark a given device as having been visited." alt="" coords="564,115,772,155"/>
<area shape="poly" title=" " alt="" coords="507,119,550,123,550,128,507,125"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a53fdf9c96432439b34d091da6050890b" title="Decide whether or not a given net device is being bridged by a BridgeNetDevice." alt="" coords="567,179,769,219"/>
<area shape="poly" title=" " alt="" coords="475,131,512,143,560,164,582,172,580,177,558,169,510,148,473,136"/>
<area shape="poly" title=" " alt="" coords="442,179,509,143,532,121,542,111,557,100,571,93,573,98,560,105,546,115,536,125,512,147,445,184"/>
<area shape="poly" title=" " alt="" coords="476,179,571,155,572,161,477,184"/>
<area shape="poly" title=" " alt="" coords="511,198,554,197,554,202,511,203"/>
<area shape="poly" title=" " alt="" coords="343,182,339,172,348,162,366,157,393,155,425,157,442,165,440,170,424,163,393,160,367,162,350,167,345,173,348,180"/>
<area shape="poly" title=" " alt="" coords="484,219,565,237,564,242,483,224"/>
</map>
</div>
<div id="dynsection-31" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-31-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-31-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-31-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/d56/classns3_1_1_d_g_r_router_a920b7e48d18135f51a66b010b6d730cc_icgraph.png" border="0" usemap="#ad0/d56/classns3_1_1_d_g_r_router_a920b7e48d18135f51a66b010b6d730cc_icgraph" alt=""/></div>
<map name="ad0/d56/classns3_1_1_d_g_r_router_a920b7e48d18135f51a66b010b6d730cc_icgraph" id="ad0/d56/classns3_1_1_d_g_r_router_a920b7e48d18135f51a66b010b6d730cc_icgraph">
<area shape="rect" title="Process a single broadcast link." alt="" coords="599,5,821,45"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#aa562c84d9a117e26103ac8338ec8094f" title="Process a generic broadcast link." alt="" coords="276,13,551,38"/>
<area shape="poly" title=" " alt="" coords="585,28,551,28,551,23,585,23"/>
<area shape="rect" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac119cda89d816da90186bb617c710c25" title="Walk the connected channels, discover the adjacent routers and build the associated number of Global ..." alt="" coords="5,13,228,38"/>
<area shape="poly" title=" " alt="" coords="262,28,228,28,228,23,262,23"/>
</map>
</div>

</div>
</div>
<a id="a2a9290440b576b8a32c3a944409cc38f" name="a2a9290440b576b8a32c3a944409cc38f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a9290440b576b8a32c3a944409cc38f">&#9670;&#160;</a></span>RemoveInjectedRoute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouter::RemoveInjectedRoute </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Withdraw a route from the global unicast routing table. </p>
<p>Calling this function will cause all indexed routes numbered above index i to have their index decremented. For instance, it is possible to remove N injected routes by calling RemoveInjectedRoute (0) N times.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>The index (into the injected routing list) of the route to remove.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>GlobalRouter::WithdrawRoute () </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01655">1655</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, and <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00867">m_injectedRoutes</a>.</p>

</div>
</div>
<a id="ad311356106cc37bb8b0c140e42a8102c" name="ad311356106cc37bb8b0c140e42a8102c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad311356106cc37bb8b0c140e42a8102c">&#9670;&#160;</a></span>SetRoutingProtocol()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRRouter::SetRoutingProtocol </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; <a class="el" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html">Ipv4DGRRouting</a> &gt;&#160;</td>
          <td class="paramname"><em>routing</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the specific Global Routing Protocol to be used. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">routing</td><td>the routing protocol </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00533">533</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00862">m_routingProtocol</a>.</p>

</div>
</div>
<a id="af299a2048022a7a4f360e40d4b787eb8" name="af299a2048022a7a4f360e40d4b787eb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af299a2048022a7a4f360e40d4b787eb8">&#9670;&#160;</a></span>WithdrawRoute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ns3::DGRRouter::WithdrawRoute </td>
          <td>(</td>
          <td class="paramtype">Ipv4Address&#160;</td>
          <td class="paramname"><em>network</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Ipv4Mask&#160;</td>
          <td class="paramname"><em>networkMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Withdraw a route from the global unicast routing table. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">network</td><td>The Network to withdraw </td></tr>
    <tr><td class="paramname">networkMask</td><td>The Network Mask to withdraw </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>whether the operation succeeded (will return false if no such route)</dd></dl>
<dl class="section see"><dt>See also</dt><dd>GlobalRouter::RemoveInjectedRoute () </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01674">1674</a> of file <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, and <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00867">m_injectedRoutes</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a3a387b1e294fec2c8ab1e3b81e1a3a47" name="a3a387b1e294fec2c8ab1e3b81e1a3a47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a387b1e294fec2c8ab1e3b81e1a3a47">&#9670;&#160;</a></span>m_bridgesVisited</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;Ptr&lt;BridgeNetDevice&gt; &gt; ns3::DGRRouter::m_bridgesVisited</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">mutable</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Container of bridges visited. </p>

<p class="definition">Definition at line <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00874">874</a> of file <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html">dgr-router-interface.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01816">BridgeHasAlreadyBeenVisited()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01807">ClearBridgesVisited()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01834">MarkBridgeAsVisited()</a>.</p>

</div>
</div>
<a id="a44d220216aad103c57fbd253f80df2b2" name="a44d220216aad103c57fbd253f80df2b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44d220216aad103c57fbd253f80df2b2">&#9670;&#160;</a></span>m_injectedRoutes</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#a9f0ef594d1a61e21ef32e53fd1537428">InjectedRoutes</a> ns3::DGRRouter::m_injectedRoutes</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Routes we are exporting. </p>

<p class="definition">Definition at line <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00867">867</a> of file <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html">dgr-router-interface.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00593">DiscoverLSAs()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00546">DoDispose()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01625">GetInjectedRoute()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01648">GetNInjectedRoutes()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01611">InjectRoute()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01655">RemoveInjectedRoute()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01674">WithdrawRoute()</a>.</p>

</div>
</div>
<a id="aa839f56748d61a63ad55c0db58ddd07f" name="aa839f56748d61a63ad55c0db58ddd07f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa839f56748d61a63ad55c0db58ddd07f">&#9670;&#160;</a></span>m_LSAs</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html#ac35345e38e068c7f0f3c1193d32ea80d">ListOfLSAs_t</a> ns3::DGRRouter::m_LSAs</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>database of GlobalRoutingLSAs </p>

<p class="definition">Definition at line <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00859">859</a> of file <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html">dgr-router-interface.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01161">BuildNetworkLSAs()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00560">ClearLSAs()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00593">DiscoverLSAs()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01585">GetLSA()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01575">GetNumLSAs()</a>.</p>

</div>
</div>
<a id="ad5a4a0b95c697c5121ee5096dfb1da61" name="ad5a4a0b95c697c5121ee5096dfb1da61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5a4a0b95c697c5121ee5096dfb1da61">&#9670;&#160;</a></span>m_routerId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Ipv4Address ns3::DGRRouter::m_routerId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>router ID (its IPv4 address) </p>

<p class="definition">Definition at line <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00861">861</a> of file <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html">dgr-router-interface.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00519">DGRRouter()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l01161">BuildNetworkLSAs()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00593">DiscoverLSAs()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00580">GetRouterId()</a>.</p>

</div>
</div>
<a id="aa705acbc7504f36647b15d3771ec7a5c" name="aa705acbc7504f36647b15d3771ec7a5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa705acbc7504f36647b15d3771ec7a5c">&#9670;&#160;</a></span>m_routingProtocol</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Ptr&lt;<a class="el" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html">Ipv4DGRRouting</a>&gt; ns3::DGRRouter::m_routingProtocol</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>the Ipv4GlobalRouting in use </p>

<p class="definition">Definition at line <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html#l00862">862</a> of file <a class="el" href="../../df/d96/dgr-router-interface_8h_source.html">dgr-router-interface.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00546">DoDispose()</a>, <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00539">GetRoutingProtocol()</a>, and <a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html#l00533">SetRoutingProtocol()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>model/<a class="el" href="../../df/d96/dgr-router-interface_8h_source.html">dgr-router-interface.h</a></li>
<li>model/<a class="el" href="../../de/d42/dgr-router-interface_8cc_source.html">dgr-router-interface.cc</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d7/d2e/namespacens3.html">ns3</a></li><li class="navelem"><a class="el" href="../../d0/d56/classns3_1_1_d_g_r_router.html">DGRRouter</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
